You are not logged in.

#1 2009-05-26 01:48:44

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

[SOLVED] Problems booting with an ext4 root filesystem

I cannot boot (using grub) in the following scenario:

- primary ext2 /boot partition
- logical ext4 root partition
- logical ext4 /home and /var partitions

Here is the entry in menu.lst:

title Arch Linux
root (hd0,1)    
kernel /vmlinuz26 root=/dev/sda5 ro vga=773 rootfstype=ext4
initrd /kernel26.img

The result is a kernel panic, with a message that the root device cannot be accessed.

When I change the root partition to ext3 (via archive - reformat - extract) everything works, including the ext4 /home and /var partitions.

I thought that "grub doesn't support ext4" means that the boot partition cannot be ext4, but I expected root to be OK.

Last edited by grey (2009-05-26 08:08:48)


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#2 2009-05-26 04:20:14

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: [SOLVED] Problems booting with an ext4 root filesystem

Most likely you have to ensure that ext4 module is included in the kernel boot image.  Maybe try adding "ext4" to the MODULES section in /etc/mkinitcpio.conf and regenerating boot images with "mkinitcpio -p kernel26".

Offline

#3 2009-05-26 05:59:04

pjnsmb
Member
From: Solihull.U.K
Registered: 2009-02-05
Posts: 29

Re: [SOLVED] Problems booting with an ext4 root filesystem

my ext4 root partition boots fine with the entry below :

# (0) Arch Linux
title  Arch Linux
root   (hd0,12)
kernel /vmlinuz26 root=/dev/sda14 ro
initrd /kernel26.img


without (rootfstype=ext4)

are your entries in /etc/fstab correct for file types ?


pjnsmb

Man is still the most extraordinary computer of all.
Kennedy, John F.

Offline

#4 2009-05-26 08:12:02

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [SOLVED] Problems booting with an ext4 root filesystem

fwojciec: you were right. Adding ext4 to MODULES did the trick.

Thanks a lot!


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

Board footer

Powered by FluxBB