Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help, system won't boot
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
jaredvolkl
n00b
n00b


Joined: 09 Mar 2004
Posts: 17
Location: Plymouth, MN

PostPosted: Mon Nov 01, 2004 6:54 am    Post subject: Help, system won't boot Reply with quote

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
View user's profile Send private message
koroumel
Guru
Guru


Joined: 17 Jun 2004
Posts: 339
Location: Athens, Greece

PostPosted: Mon Nov 01, 2004 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message
jaredvolkl
n00b
n00b


Joined: 09 Mar 2004
Posts: 17
Location: Plymouth, MN

PostPosted: Tue Nov 02, 2004 12:50 am    Post subject: Reply with quote

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
View user's profile Send private message
merror
n00b
n00b


Joined: 09 Apr 2003
Posts: 34
Location: switzerland

PostPosted: Tue Nov 02, 2004 2:31 am    Post subject: Reply with quote

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
View user's profile Send private message
b-llwyd
Guru
Guru


Joined: 24 Jul 2002
Posts: 302
Location: Uppsala, Sweden

PostPosted: Tue Nov 02, 2004 7:21 am    Post subject: Reply with quote

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
View user's profile Send private message
koroumel
Guru
Guru


Joined: 17 Jun 2004
Posts: 339
Location: Athens, Greece

PostPosted: Tue Nov 02, 2004 4:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Tue Nov 02, 2004 6:53 pm    Post subject: Reply with quote

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 :oops:
_________________
Fvwm|Fvwm forum


Last edited by theBlackDragon on Tue Nov 02, 2004 10:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
jaredvolkl
n00b
n00b


Joined: 09 Mar 2004
Posts: 17
Location: Plymouth, MN

PostPosted: Tue Nov 02, 2004 9:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Tue Nov 02, 2004 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
jaredvolkl
n00b
n00b


Joined: 09 Mar 2004
Posts: 17
Location: Plymouth, MN

PostPosted: Wed Nov 03, 2004 1:43 am    Post subject: Reply with quote

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
View user's profile Send private message
jaredvolkl
n00b
n00b


Joined: 09 Mar 2004
Posts: 17
Location: Plymouth, MN

PostPosted: Wed Nov 03, 2004 1:56 am    Post subject: Reply with quote

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
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