View previous topic :: View next topic |
Author |
Message |
nyteryda Guru
Joined: 26 Jul 2003 Posts: 337 Location: London
|
Posted: Tue Jul 06, 2004 5:42 pm Post subject: Harddisk booting error... |
|
|
I recently upgraded my kernel and tried to get udev working... and now I get this error during boot.
Code: | fsck.ext3: No Such file or directory while trying to open /dev/hda4 the superblock could not be read or does not describe a correct ext2 |
Now I know the filesystem is ok because i can still use my old 2.4 kernel and I have fsck'd it from koppix.
I have been through the udev primer (and I don't have devfs starting on boot in the kernel, and i have the gentoo=nodevfs in grub).
I have also tryed puttin devfs back in (still without devfs on startup kernel option) and trying to boot with gentoo=noudev) and still the same errors.
If anyone one has any idea I would be very gratefull
Cheers. _________________
Code: | #include "forums.h"
int main() {while (bollox) postcount++;}
|
|
|
Back to top |
|
|
nyteryda Guru
Joined: 26 Jul 2003 Posts: 337 Location: London
|
Posted: Tue Jul 06, 2004 11:15 pm Post subject: |
|
|
UPDATE
Ok I copyied everything over to a new partion and changed my fstab and grub.conf to that partion yet is still stops during boot with a messages about hda4 ? how can that be? how can the kernel still be trying to open hda4 when i have told it to load hda6 in both those files
my fstab as it stands notice all lines with hda4 are commeted out..
Code: | /dev/hda3 /boot ext2 noauto,noatime 1 1
#/dev/ide/hd/c0b0t0u0p4 / ext3 noatime 0 0
#/dev/hda4 / ext3 noatime 0 0
#/dev/hda4 / ext3 noatime 0 0
/dev/hda5 none swap sw 0 0
/dev/hda6 / ext2 noauto 0 0
|
my grub.conf...
Code: | title=Gentoo test (udev)
root (hd0,2)
kernel /Gentoo root=/dev/hda6 gentoo=nodevfs |
Any ideas at all would be really usefull!! _________________
Code: | #include "forums.h"
int main() {while (bollox) postcount++;}
|
|
|
Back to top |
|
|
nyteryda Guru
Joined: 26 Jul 2003 Posts: 337 Location: London
|
Posted: Tue Jul 06, 2004 11:46 pm Post subject: |
|
|
Ok i solved my problem...
In case anyone else gets it...
I booted using Damn Small Linux...
in /dev i deleted .keep files and udev and .udev and .udev.tdb snf -.devfsd
in /sys i deleted .keep
in /boot i deleted .keep
I don't know what relevence any of these files but my system seems too work now...
I still don't know why the kernel kept trying to load the /dev/hda4 even though in both fstab/grub.conf it was set to use hda6 ? if you do know that please let me know _________________
Code: | #include "forums.h"
int main() {while (bollox) postcount++;}
|
|
|
Back to top |
|
|
don quixada l33t
Joined: 15 May 2003 Posts: 810
|
Posted: Tue Oct 26, 2004 8:24 am Post subject: |
|
|
Did what you said (deleting the .devfsd file etc.) a now I have udev! Thanks very much!
dq |
|
Back to top |
|
|
|