Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
acp26b
n00b
n00b


Joined: 24 Jun 2005
Posts: 28

PostPosted: Sat Jun 25, 2005 9:34 pm    Post subject: udev problem Reply with quote

Code:

* checking all filesystems...
fsck.ext2: No such file or directory while trying to open /dev/boot
/dev/boot:

The superblock could not be read or does not descrive a correct ext2 file system.  If the decive is valid and really contains an ext2 filesystem (and not swap or something else), then the superblock is currupt , and you might try running e2fsck with an alternate superblock:
     esfck -b 8193<device>
*fsck could not correct all errors, manual repair is needed

Give root pass for maintance
(or type control +d for normal start up):


Ok i know that this looks like other udev problems at first glance, that is what i thought. I have tried all the sugestions given on previous posts such as making sure the file system was activated in kernel, and making sure the devfs was not, i even have my grub file configured to pass udev as a argument. I am running a pentium 4, and used stage three with genkernel, when i compiled the kernel i passed:
Code:

genkernel --udev all


As i mentioned before this was a little different then the other udev problmes because other people have had errors such as missing /dev/hdaX where as i am having problems with /dev/Boot. Here is my fstab:
Code:

/dev/Boot                     /boot              ext2     noauto,noatime    11
/dev/root                      /                     xfs           noatime        00
/dev/swap                    none               swap         sw               00
/dev/cdroms/cdrom0     /mnt/cdrom     iso9660     noauto,ro     00

none                           /proc                proc         defaults         00
none                           /dev/shm          tmpfs        defaults        00



And here is my grub.conf

Code:


defaults 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linuz 2.6.11-r11
root=(hd0,0)
kernel /kernel-2.6.11-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initrd-2.6.11-gentoo-r11




Any ideas would be very helpful
-thanks
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sat Jun 25, 2005 9:54 pm    Post subject: Reply with quote

It won't work with that fstab. There are no /dev/boot, /dev/root or /dev/swap device nodes. You need to use something like that (I'm assuming the standard partition layout, and you need to replace reiserfs by the name of the filesystem you're using for each partition) :
Code:
/dev/hda1               /boot           reiserfs        ro,noatime,notail       0 0
/dev/hda2               none            swap            sw                      0 0
/dev/hda3               /               reiserfs        noatime                 0 0

/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0

none                    /proc           proc            defaults                0 0
none                    /dev/shm        tmpfs           defaults                0 0


Last edited by widan on Sat Jun 25, 2005 9:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Jun 25, 2005 9:55 pm    Post subject: Reply with quote

/dev/boot, /dev/root, and /dev/swap are not device nodes!

You need to edit those and change them to the locations specific to your hard drives.

As an example, here is mine:
Code:
/dev/hda2               /               reiserfs        notail,noatime,user_xattr       0 0
/dev/hda1               none            swap            sw                      0 0
/dev/cdroms/cdrom0     /mnt/cdrom      iso9660         noauto,ro               0 0
Back to top
View user's profile Send private message
dkmweeks
Apprentice
Apprentice


Joined: 26 Apr 2005
Posts: 202
Location: Tampa, Florida, USA

PostPosted: Mon Jun 27, 2005 12:39 am    Post subject: Reply with quote

Yes, this looks like a labeling mixup. Perhaps you come from Red Hat? I did.

Dump the labels and go with real device names, OR get really tight with the labeling method. There are pros and cons for each. Read up (google) and decide.

If you stick with real device names, you WON'T have this problem.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Mon Jun 27, 2005 12:47 am    Post subject: Reply with quote

If your gonna use Gentoo, go with the Gentoo standard and forget the Redhat method even if you can get it to work.
You'll save yourself trouble later on.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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