View previous topic :: View next topic |
Author |
Message |
jaredvolkl n00b
Joined: 09 Mar 2004 Posts: 17 Location: Plymouth, MN
|
Posted: Mon Nov 01, 2004 6:54 am Post subject: Help, system won't boot |
|
|
I got my system all set up a week ago with a Stage 1 install (this my 5th time or so doing an install, so I know what I'm doing). I had left the laptop hooked up to my router for awhile while I was getting all my programs setup and I just ssh'ed into it to get things set up. Well, once I had everything the way I wanted, I shut it down, and brought it to my room. I just let it sit there for a few days because I didn't need it. Then the other day I turned it on and it won't boot!
I get a message during boot that says:
Failed to open the directory /dev/hda2: No such file or directory
Now I know the partition is there. I can boot a LiveCD, see it, mount it, and even chroot into it. I tried running fsck.resierfs on the partition once I chroot'ed into and that didn't seem to find any problems. I don't know what could have happened. |
|
Back to top |
|
|
koroumel Guru
Joined: 17 Jun 2004 Posts: 339 Location: Athens, Greece
|
Posted: Mon Nov 01, 2004 8:26 am Post subject: |
|
|
Can you please post you Lilo/Grub config file? Also, please post the partition table when you do fdisk from the live cd. _________________ "Yep linux is an alternative. Windows on the other hand isn't even an option"
Registered Linux User No #242616 |
|
Back to top |
|
|
jaredvolkl n00b
Joined: 09 Mar 2004 Posts: 17 Location: Plymouth, MN
|
Posted: Tue Nov 02, 2004 12:50 am Post subject: |
|
|
just a really basic grub config:
title Gentoo-2.6.9-r1
root (hd0,1)
kernel /boot/kernel-2.6.9-gentoo-r1 root=/dev/hda2 vga=792
And here's my partition scheme:
/dev/hda1 swap
/dev/hda2 root (contains everything including home, root, and boot) |
|
Back to top |
|
|
merror n00b
Joined: 09 Apr 2003 Posts: 34 Location: switzerland
|
Posted: Tue Nov 02, 2004 2:31 am Post subject: |
|
|
Hi
are you sure you need to give the /boot/ folder in grub?
mine looks just like this
---------
title GNU/Linux 2.6.9-r1 no fb
root (hd0,0)
kernel /bzImage root=/dev/hda3
-------------
and it works.
merror |
|
Back to top |
|
|
b-llwyd Guru
Joined: 24 Jul 2002 Posts: 302 Location: Uppsala, Sweden
|
Posted: Tue Nov 02, 2004 7:21 am Post subject: |
|
|
I think you need it to be like this -
title Gentoo-2.6.9-r1
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hda2 vga=792
root (hd0,1) would be referring to your / partition, and i dont think you can access the kernel from there (even if you write /boot/kernel-blah-blah), as grub cant mount partitions for you.
I might be wrong about this, please try |
|
Back to top |
|
|
koroumel Guru
Joined: 17 Jun 2004 Posts: 339 Location: Athens, Greece
|
Posted: Tue Nov 02, 2004 4:34 pm Post subject: |
|
|
I would go for b-llwyd, his post looks right, unless you've set up you grub in (hd0,1)! _________________ "Yep linux is an alternative. Windows on the other hand isn't even an option"
Registered Linux User No #242616 |
|
Back to top |
|
|
theBlackDragon l33t
Joined: 23 Nov 2002 Posts: 768 Location: Belgium
|
Posted: Tue Nov 02, 2004 6:53 pm Post subject: |
|
|
I'm not sure, but it could also be this problem that I and some others encountered a couple of days ago.
[EDIT]Fixed dumb mixup _________________ Fvwm|Fvwm forum
Last edited by theBlackDragon on Tue Nov 02, 2004 10:13 pm; edited 1 time in total |
|
Back to top |
|
|
jaredvolkl n00b
Joined: 09 Mar 2004 Posts: 17 Location: Plymouth, MN
|
Posted: Tue Nov 02, 2004 9:02 pm Post subject: |
|
|
The problem isn't my kernel guys. Grub finds the kernel just fine and boots it to start out ok.
Just for kicks I tried your changes. No good. b-llwyd, grub IS on hd0,1 (aka hda2). Like I said, this configuration was working. I had booted off it previously just fine. I've also tried recompiling my kernel to no avail.
blackdragon: that link points to fvwm. I don't even use it. I use Gnome and well, a window manager does me no good if I can't even get past boot. |
|
Back to top |
|
|
theBlackDragon l33t
Joined: 23 Nov 2002 Posts: 768 Location: Belgium
|
Posted: Tue Nov 02, 2004 10:12 pm Post subject: |
|
|
jaredvolkl wrote: | The problem isn't my kernel guys. Grub finds the kernel just fine and boots it to start out ok.
Just for kicks I tried your changes. No good. b-llwyd, grub IS on hd0,1 (aka hda2). Like I said, this configuration was working. I had booted off it previously just fine. I've also tried recompiling my kernel to no avail.
blackdragon: that link points to fvwm. I don't even use it. I use Gnome and well, a window manager does me no good if I can't even get past boot. |
Goddamnit, stupid me, didn't want to get you that link of couse!
This is the real one https://forums.gentoo.org/viewtopic.php?p=1709171. I'll edit the above post to point to the good location, sorry for the fuckup.
Btw, don't regard the topic title to closely, it's about more than only ext2. _________________ Fvwm|Fvwm forum |
|
Back to top |
|
|
jaredvolkl n00b
Joined: 09 Mar 2004 Posts: 17 Location: Plymouth, MN
|
Posted: Wed Nov 03, 2004 1:43 am Post subject: |
|
|
theBlackDragon wrote: | jaredvolkl wrote: | The problem isn't my kernel guys. Grub finds the kernel just fine and boots it to start out ok.
Just for kicks I tried your changes. No good. b-llwyd, grub IS on hd0,1 (aka hda2). Like I said, this configuration was working. I had booted off it previously just fine. I've also tried recompiling my kernel to no avail.
blackdragon: that link points to fvwm. I don't even use it. I use Gnome and well, a window manager does me no good if I can't even get past boot. |
Goddamnit, stupid me, didn't want to get you that link of couse!
This is the real one https://forums.gentoo.org/viewtopic.php?p=1709171. I'll edit the above post to point to the good location, sorry for the fuckup.
Btw, don't regard the topic title to closely, it's about more than only ext2. |
Thank you for the link. I just took a quick peek it it. Looks helpful since I DID just recently emerge baselayout in ~x86. I set up wireless using that version of baselayout. I'll keep everyone posted here once I get a chance to read through that thread and work on some things. |
|
Back to top |
|
|
jaredvolkl n00b
Joined: 09 Mar 2004 Posts: 17 Location: Plymouth, MN
|
Posted: Wed Nov 03, 2004 1:56 am Post subject: |
|
|
Well what do ya know. It worked! My system is booting as I type this. Any word on if this is being fixed? |
|
Back to top |
|
|
|