You are not logged in.

#1 2006-04-06 08:44:03

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

mkinitramfs testing. kernel26 users can help too.

Hey,

There's been a lot of people complaining about LVM, RAID and encrypted root support in mkinitramfs, and I've been doing some things to get it working, but I'd like some feedback. It's terribly difficult to develop it blindly.

If you are using kernel26, or kernel26beyond, it'd help a lot, if you install mkinitramfs1.4-5 from testing and then simply boot your system with it. kernel26 also includes initramfs support.

Note that the version of mkinitramfs is important. Testing this will not touch your initrd setup, and will not render your system unbootable, unless you do something silly/incorrect.

For basic instructions on setting up initramfs, follow the wiki here. http://wiki.archlinux.org/index.php/Initramfs

In a nutshell, if you currently use initrd, just configure your /etc/mkinitramfs.conf instead of mkinitrd.conf, and use the command mkinitramfs instead of mkinitrd. Then just add the appropriate lines to your bootloader in a seperate entry, and reboot. If it doesnt work, you can just boot your original entry.

If you do have a problem, can you please provide context, ten lines before and after the problem or any other useful information, especially any errors that arise at any stage.

James

edited mkinitramfs version to 1.4-5 from 1.4-4 as it includes a fix for LVM users.

Offline

#2 2006-04-06 21:09:48

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mkinitramfs testing. kernel26 users can help too.

Ok... mkinitramfs should be in testing now, my bad smile

Offline

#3 2006-04-06 23:29:55

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: mkinitramfs testing. kernel26 users can help too.

Just a little question, is the stock kernel26 package ever going to be switched over to initramfs?

Offline

#4 2006-04-06 23:43:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mkinitramfs testing. kernel26 users can help too.

Gullible Jones wrote:

Just a little question, is the stock kernel26 package ever going to be switched over to initramfs?

Yes, eventually. Now go and test tongue

Offline

#5 2006-04-07 10:53:06

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: mkinitramfs testing. kernel26 users can help too.

Works beautifully here, no hitches. Also seems to boot faster than with initrd for some reason, no idea what that's about - perhaps an error on my part.

Offline

#6 2006-04-07 11:13:54

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mkinitramfs testing. kernel26 users can help too.

It booting faster? error? never tongue lol.

who knows, more happens within my initramfs than the stock initrd setup, so theoretically it ought to take longer.

James

Offline

#7 2006-04-07 11:46:12

shbang
Member
Registered: 2005-10-03
Posts: 76

Re: mkinitramfs testing. kernel26 users can help too.

Standard ARCH kernel and initramfs works fine here also.  I didn't test vmware-ws, nvidia, or ndiswrapper but I'm sure I would just have to reinstall them as usual with a new/different kernel. Didn't boot faster cuz I'm already using beyond!

Offline

#8 2006-04-07 12:01:18

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mkinitramfs testing. kernel26 users can help too.

that's cool, good to know. nvidia/ndiswrapper/vmware shouldnt affect initramfs at all.

keep the tests coming, especially raid, encrypted or lvm roots.

James

Offline

#9 2006-04-07 13:18:18

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 83
Website

Re: mkinitramfs testing. kernel26 users can help too.

iphitus wrote:

edited mkinitramfs version to 1.4-5 from 1.4-4 as it includes a fix for LVM users.

work very well both with stock kernel26 and kernel26-beyond

Offline

#10 2006-04-07 13:46:48

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mkinitramfs testing. kernel26 users can help too.

hongy19: guys, I spose it would help too if you told me what fs/setup your / partition is on (raid? lvm? encrypted? reiser4?) too. it's great to know it works, but what it works on would help a lot smile

Offline

#11 2006-04-07 20:13:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: mkinitramfs testing. kernel26 users can help too.

iphitus wrote:

It booting faster? error? never tongue lol.

who knows, more happens within my initramfs than the stock initrd setup, so theoretically it ought to take longer.

James

I did the same things to it as with my initrd - got rid of the SATA, SCSI, and CD modules, specified the filesystem (jfs), and enabled AUTODETECT. No FBSplash stuff or anything.

Offline

#12 2006-04-10 14:37:01

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 83
Website

Re: mkinitramfs testing. kernel26 users can help too.

iphitus wrote:

hongy19: guys, I spose it would help too if you told me what fs/setup your / partition is on (raid? lvm? encrypted? reiser4?) too. it's great to know it works, but what it works on would help a lot smile

my root partition is reiserfs. no raid, no lvm and no encrypted.
is it enough? smile

Offline

#13 2006-04-10 15:02:16

rdoggsv
Member
From: /home
Registered: 2005-06-24
Posts: 79
Website

Re: mkinitramfs testing. kernel26 users can help too.

hongy19 wrote:

my root partition is reiserfs. no raid, no lvm and no encrypted.
is it enough? smile

same here , do u want also users without lvm or encrypted filesystems to try it ?? or do u want users with all this fancy gadgets ???  lol

Offline

#14 2006-04-11 06:15:49

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mkinitramfs testing. kernel26 users can help too.

Any testing is appreciated. Though I have a special interest in raid, encrypted and lvm users. They're the ones which a majority of the changes in this release were made to benefit.

James

Offline

#15 2006-04-16 02:29:59

badger
Member
From: Melb
Registered: 2004-07-21
Posts: 76

Re: mkinitramfs testing. kernel26 users can help too.

WIth mkinitramfs 1.4-6, kernel beyond2-1, and kernel 2.6.16.4-1 I couldn't boot my encrypted root (setup pretty much like on the wiki http://wiki.archlinux.org/index.php/Enc … Filesystem ). Mkinitrd setup works fine, and my config seems okay. Is there a way to capture exactly what boot up is spitting out at me?

cheers

Offline

#16 2006-04-16 04:05:17

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mkinitramfs testing. kernel26 users can help too.

pen and paper, or a digital camera work well smile

are you sure you configured /etc/mkinitramfs.conf correctly for your encrypted setup?

If so, then can you describe what happens? Do you get asked your password? does it show "Arch Linux 0.7.1 Noodle'? does it show 'starting udev'? what are the last 10 lines of it's output?

James

Offline

#17 2006-04-16 15:53:49

badger
Member
From: Melb
Registered: 2004-07-21
Posts: 76

Re: mkinitramfs testing. kernel26 users can help too.

Here's some more detail:

Load USB subsystem
   (waiting 10 seconds for devices to settle)
Modules loaded

A Password is required to access this root filesystem
Enter passphrase:
.
. continues booting
.
Starting UDev Daemon
Loading Modules
Mounting Root Read-only
Checking Filesystems
fsck.ext3: No such file or directory while trying to open /dev/mapper/root
The superblock could not be read....

Then it forces me into single-user mode. I've looked over mkinitramfs.conf and it is set up similarly to mkinitrd.conf. Re-generated the initramfs-beyond.img (with auto, not full) for the 2.6.16-beyond2-1 kernel, but still having the same problem.

Things to do? cheers

Offline

#18 2006-04-16 16:29:12

profoX
Member
From: Belgium
Registered: 2006-04-13
Posts: 110
Website

Re: mkinitramfs testing. kernel26 users can help too.

The Beyond Kernel works flawless here!

I also tried a new DSDT table (buggy ACPI bios)
and gensplash

Works perfectly! way better than the stock kernel on my notebook!
My ati-fglrx is working now too! (with the new ati-fglrx-beyond package)

(by the way: if anyone knows, how do I get a background (gensplash) on every VC, I only have one on VC1)


Collecting data is only the first step toward wisdom.
But sharing data is the first step toward community.

Offline

Board footer

Powered by FluxBB