View previous topic :: View next topic |
Author |
Message |
tekknokrat Apprentice
Joined: 17 Apr 2005 Posts: 278 Location: Magdeburg
|
Posted: Thu Sep 29, 2005 9:53 pm Post subject: Device Node for harddisk gets lost |
|
|
hi all,
i wanted to get rid of all of the device node i had under dev.
thatswhy i emerged udev, deactivated the device tarball option in conf.d/rc and moved my dev entries to another dir hoping that they will be reassigned by udev.
After reboot on "cheking root filesystem" i now get the message "no such file or directory while trying to open /dev/hda1 the superblock could not be read"
and i have the only possibility to reboot or start in mainntenance mode Control-D. After doing maintenance I only have readonly access to my formerly hda1, but no hda1 entry in dev so I could not move the device nodes back. When I start with gentoo livecd it gives me a full list of entries in /mnt/gentoo/dev when i mount /dev/hda1 to it so everythings seems to be fine - until reboot :-/
I also restored setting in rc "RC_DEVICE_TARBALL="yes"" without luck.
Kernel: 2.6.11-gentoo-r9
What else can I do? |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Thu Sep 29, 2005 10:26 pm Post subject: Re: Device Node for harddisk gets lost |
|
|
tekknokrat wrote: | After doing maintenance I only have readonly access to my formerly hda1, but no hda1 entry in dev so I could not move the device nodes back. |
If you want read/write, you can do "mount / -o rw,remount". To remount read only (if you need to do a hard reboot), run the same thing but with "ro" instead of "rw".
What was there before the problem ? devfs ? Check you have RC_DEVICES="udev" (or auto) in /etc/conf.d/rc. Also do you have some nodes in /dev when in maintenance mode, or nothing at all ?
If you run these commands, do the disk nodes appear (if it complains that sysfs is already mounted, it's not a problem, just run the other commands) ?
Code: | mount -t sysfs none /sys
mount -t tmpfs none /dev
udevstart |
If they do not, does your drive appear in /sys/block ? |
|
Back to top |
|
|
tekknokrat Apprentice
Joined: 17 Apr 2005 Posts: 278 Location: Magdeburg
|
Posted: Fri Sep 30, 2005 7:16 am Post subject: |
|
|
Setting the entry RC_DEVICES="udev" solved my problem. Now /dev/hda1 appears again and boot processed successfully.
But I'm almost sure that this entry was not in rc before I made this change. How is controlled which device management is used without this flag?
Beyond it, thanks for your support. |
|
Back to top |
|
|
|
|
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
|
|