Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] fresh install cant boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Sat Dec 30, 2006 7:00 pm    Post subject: [solved] fresh install cant boot Reply with quote

Hello! Just made a fresh installation of gentoo. and got this message at boot:





VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append the correct "root=" boot option
Kernel Panic - not syncing: VFS: Unable to mount fs on unknown-block(0,0)


Ive checked that i have all the filesystem supports in the kernel, and dont use SATA or SCSI.


What do do? :?


Last edited by csid on Mon Jan 01, 2007 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Sat Dec 30, 2006 7:06 pm    Post subject: Reply with quote

Could you please provide the output of fdisk -l and the content of /boot/grub/grub.conf
_________________
I'm a membar of Mesnar and me scull contains wakky secrets!
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Sat Dec 30, 2006 7:17 pm    Post subject: Reply with quote

Writing this in links so ;)

/dev/hda1 System: Linux
/dev/hda2 System: Linux swap / solaris
/dev/hda3 System: Linux

Lilo
image=/boot/kernel-2618
label=gentoo
read-only
root=/dev/hda3
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Dec 30, 2006 8:03 pm    Post subject: Re: fresh install cant boot Reply with quote

csid wrote:
VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append the correct "root=" boot option
Kernel Panic - not syncing: VFS: Unable to mount fs on unknown-block(0,0)

Ive checked that i have all the filesystem supports in the kernel, and dont use SATA or SCSI.
You need the IDE high level and IDE chipset drivers compiled into your kernel. See [FAQ] KC13: I just installed a new kernel and it won't boot for help.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Sat Dec 30, 2006 10:28 pm    Post subject: Reply with quote

I dont understand, i have IDE and ATA support in the kernel. Still wont boot.

I didnt see any setting that is called IDE high level. Just SCSI highlevel stuff, like in that FAQ. But that doesnt help me much..


Any other ideas?
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Sat Dec 30, 2006 11:20 pm    Post subject: Reply with quote

csid, that error on boot means that the kernel can't read the disk. There are only a few ways that error can arise. Either the root partition isn't the right one, the format isn't the one specified in your /etc/fstab, or, the most common, that you haven't included the necessary support in your kernel. Did you maybe include the ID/ ATA stuff as modules?

You'll want to go back through your kernel config and be sure that you're booting with the kernel you think you are (I've forgotten to copy over the new kernel to /boot before) and that you have the necessary support included in that kernel config. See, especially, section 2 of the FAQ that wynn linked to.

-m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Sat Dec 30, 2006 11:41 pm    Post subject: Reply with quote

So it could be a problem with the fstab?


I will checked that then, becouse the kernel configuration shouldnt be wrong, went over it a 1000 times now..


But i will check the fstab again...
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sun Dec 31, 2006 11:51 am    Post subject: Reply with quote

Here is a kernel configuration for 2.6.18-gentoo-r6 IDE that I prepared earlier
Code:
<*> ATA/ATAPI/MFM/RLL support
<*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
---     Please see Documentation/ide.txt for help/info on IDE drives
[ ]     Support for SATA (deprecated; conflicts with libata SATA driv
[ ]     Use old disk-only driver on primary interface
<*>     Include IDE/ATA-2 DISK support
[ ]     Use multi-mode by default
<*>     Include IDE/ATAPI CDROM support
< >     Include IDE/ATAPI TAPE support (EXPERIMENTAL)
< >     Include IDE/ATAPI FLOPPY support
< >     SCSI emulation support
[ ]     IDE Taskfile Access
---     IDE chipset support/bugfixes
< >     generic/default IDE chipset support
[ ]     CMD640 chipset bugfix/support
[*]     PCI IDE chipset support
[*]       Sharing PCI IDE interrupts support
[ ]       Boot off-board chipsets first support
< >       Generic PCI IDE Chipset Support
< >       OPTi 82C621 chipset enhanced support (EXPERIMENTAL)
< >       RZ1000 chipset bugfix/support
[*]       Generic PCI bus-master DMA support
[ ]         Force enable legacy 2.0.X HOSTS to use DMA
[*]         Use PCI DMA by default when available
[ ]           Enable DMA only for disks
< >         AEC62XX chipset support
< >         ALI M15x3 chipset support
...
<*>         VIA82CXXX chipset support
It's a VIA chipset with an Athlon XP. Your chipset may be different, of course.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Sun Dec 31, 2006 1:36 pm    Post subject: Reply with quote

hello again.

Checked fstab. Seemd nice.


Went through the kernel config again. Didnt help.


Im really stuck here.......... Im getting really frustrated.
Back to top
View user's profile Send private message
gr8fuljames
n00b
n00b


Joined: 02 Oct 2006
Posts: 62

PostPosted: Sun Dec 31, 2006 5:14 pm    Post subject: Reply with quote

you wrote this...
Code:
/dev/hda1 System: Linux
/dev/hda2 System: Linux swap / solaris
/dev/hda3 System: Linux


Just to make sure did it really look like this with an * after the hda1...
Code:
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14         125      899640   82  Linux swap / Solaris
/dev/hda3             126        4982    39013852+  83  Linux
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Mon Jan 01, 2007 5:13 pm    Post subject: Reply with quote

Hello!


The manual didnt sayanything about an *?

Should it be there?
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Mon Jan 01, 2007 5:18 pm    Post subject: Reply with quote

csid wrote:
Hello!


The manual didnt sayanything about an *?

Should it be there?
The asterisk means 'bootable'.
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Mon Jan 01, 2007 5:21 pm    Post subject: Reply with quote

okey. so is that maybe my problem?
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Mon Jan 01, 2007 5:48 pm    Post subject: Reply with quote

well the asterix didnt make any difference.
Back to top
View user's profile Send private message
gr8fuljames
n00b
n00b


Joined: 02 Oct 2006
Posts: 62

PostPosted: Mon Jan 01, 2007 6:18 pm    Post subject: Reply with quote

Quote:
well the asterix didnt make any difference.


The asterix makes a big difference. I once forgot to toggle that and had to back up and do it. You will have to back up to I think page 4 in the Handbook. "preparing the disks" and then I'm pretty sure reinstall the bootloader I think page 10 "configuring the bootloader"

After that assuming everything else is right try and boot again.
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Mon Jan 01, 2007 7:25 pm    Post subject: Reply with quote

Yes i added the asterix, and re-run the bootloader installation.

Thats when i wrote "that didnt make any difference" ;)
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Mon Jan 01, 2007 7:56 pm    Post subject: Reply with quote

sorry! That did a big difference. when i rewrote the bootloader file, i only missed the root command.

But i must say, its a really bad thing that they dont say anything about the asterix in the manual!
Back to top
View user's profile Send private message
gr8fuljames
n00b
n00b


Joined: 02 Oct 2006
Posts: 62

PostPosted: Mon Jan 01, 2007 8:00 pm    Post subject: Reply with quote

Good so does it work?

And BTW it is in the handbook it's easy to forget and if your in a hurry which we all are you can skip right over it.

Code:
Creating the Boot Partition

We first create a small boot partition. Type n to create a new partition, then p to select a primary partition, followed by 1 to select the first primary partition. When prompted for the first cylinder, hit enter. When prompted for the last cylinder, type +32M to create a partition 32 Mbyte in size:

Code Listing 7: Creating the boot partition

Command (m for help): n
Command action
  e   extended
  p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-3876, default 1): (Hit Enter)
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876): +32M

Now, when you type p, you should see the following partition printout:

Code Listing 8: Created boot partition

Command (m for help): p

Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1          1        14    105808+  83  Linux

We need to make this partition bootable. Type a to toggle the bootable flag on a partition and select 1. If you press p again, you will notice that an * is placed in the "Boot" column.

Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Mon Jan 01, 2007 8:02 pm    Post subject: Reply with quote

cfdisk makes this a whole lot easier and more intuitive in my opinion.... try it.
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Mon Jan 01, 2007 8:08 pm    Post subject: Reply with quote

yes it worked out for me!


Its strange that ive missed it, i have never had that problem before. Just didnt think of it. Must be the hollidays ;)



Thanks everyone that helped out!

Now i just have to configure the new system :)
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Mon Jan 01, 2007 8:15 pm    Post subject: Reply with quote

Well if you need any more help, you know where to find us. :lol:
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Mon Jan 01, 2007 8:19 pm    Post subject: Reply with quote

hehe yes!

This is a very nice forum i must say. Cant think of a better, really 8O


I thought of one thing though, the boot toggle on that partion. Why does it make a difference after the kernel is loaded by lilo?
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Mon Jan 01, 2007 8:39 pm    Post subject: Reply with quote

dunno if grub is different, but I believe that once I skipped that step as well and GRUB booted just fine... I can't remember though.
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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