Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Migration from kernel-2.4 to kernel-2.6 - can't mount root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lateralus01
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2008
Posts: 86

PostPosted: Mon Apr 28, 2008 4:05 am    Post subject: Migration from kernel-2.4 to kernel-2.6 - can't mount root Reply with quote

I just compiled and installed a 2.6 kernel but I just can't seem to get it to boot.


The root file system is stored in one file called rootfs. The 2.4 kernel still loads everything just fine but when I boot up the 2.6 kernel I get this:
Code:

>> Activating mdev
>> Determining root device...
!! Could not find the root block device in .
    Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip...
root block deivce() ::


Here is my linuxboot.cfg file for my bootloader:
Code:

title Gentoox
kernel vmlinuz
initrd initrd.gz
append init=/linuxrc installtype=e-drive root=/dev/ram0 kbd-reset video=xbox:640x480,nohwcursor,hoc=13,voc=13

title Sparkle
kernel vmlinuz
initrd sprkrd.gz
append load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=26215 rw root=/dev/ram kbd-reset

title Gentoox-2.6
kernel vmlinuz-2.6
initrd initrd-2.6
append init=/linuxrc installtype=e-drive root=/dev/ram0 kbd-reset video=xbox:640x480,nohwcursor,hoc=13,voc=13


Here is my /etc/fstab file:
Code:

# /etc/fstab: static file system information.
#
# <file system>         <mount point>   <type>          <options>              $
/dev/loop/0             /               reiserfs        notail                 $
proc                    /proc           proc            defaults               $
/dev/cdrom              /mnt/cdrom      iso9660         defaults,ro,user,noauto$
/dev/hda51              /mnt/fatx/c     fatx            defaults,noauto,umask=0$
/dev/hda50              /mnt/fatx/e     fatx            defaults,umask=0000    $
/dev/hda55              /mnt/fatx/f     fatx            defaults,umask=0000    $


Now I have built reiserfs filesystem support into the kernel but that is the only solution I could really think would work but the error still shows. Does anyone know what could be wrong?

Thanks,
Lateralus01
Back to top
View user's profile Send private message
dnadesign
Apprentice
Apprentice


Joined: 23 Dec 2006
Posts: 172
Location: Poland

PostPosted: Mon Apr 28, 2008 4:31 pm    Post subject: Reply with quote

It's either one of two things:
1. You don't have the ReiserFS support in your kernel.
2. You don't have support for your IDE/EIDE/ATA/SATA (or whatever you have) interface in your kernel.

In your case I think it'll be the second option, as the first one would probably return another type of message. Check your hard drive interface drivers in the kernel (for the time being most probably ATA or SATA drivers).

EDIT: Hold on a minute. Which partition is used for what and what bootloader do you use?
_________________
MacBook Pro 5.1
Intel C2D 2.53 GHz, 4GB RAM DDR3, GF 9400M and 9600M GT 512MB
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Tue Apr 29, 2008 12:34 am    Post subject: Reply with quote

Moved from Kernel & Hardware to Unsupported Software.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Sat May 03, 2008 6:52 pm    Post subject: Reply with quote

looks like your using an xbox so make sure your using xbox-sources rather than gentoo-sources. Also make sure you have xbox specific options enabled (ive never used xbox-sources so ive no idea what if any extra options there are), however id guess that theres some extra fat options as the xbox uses a modified version of fat as its filesystem iirc. Also id look at things like ramdisk support.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum