View previous topic :: View next topic |
Author |
Message |
spiffy n00b
Joined: 14 Sep 2003 Posts: 2
|
Posted: Sun Sep 14, 2003 11:16 pm Post subject: new install wont boot |
|
|
I just installed Gentoo from a stage3 tar. I have silo configured right (or at least I hope so)
However when booting I get an error,
please append a correct "root=" boot option
kernel panic:VFS: Unable to mount root fs on 03:04
press L1-A to return to boot prom,
I have
partition =1
root= /dev/hda4
image = /boot/vmlinux
label = linux
root is reiserfs and I have included support in the kernel... any help would be appreciated. |
|
Back to top |
|
|
deuce n00b
Joined: 11 Dec 2002 Posts: 56
|
Posted: Sun Sep 14, 2003 11:25 pm Post subject: |
|
|
If you have a SCSI disc, it would be /dev/sda4... Are you sure the 4th partition is the root partition?
That's all I have |
|
Back to top |
|
|
spiffy n00b
Joined: 14 Sep 2003 Posts: 2
|
Posted: Sun Sep 14, 2003 11:32 pm Post subject: |
|
|
I am not using scsi. boot is partition 1, swap is 2, whole disk 3, root 4...
I followed install insttructions. |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Mon Sep 15, 2003 7:11 am Post subject: |
|
|
Give us a bit more info. What does your *complete* silo.conf look like? |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 5:58 pm Post subject: |
|
|
I'm haveing the same problem only i started from stage 1 and using ext3. On top of that error, I have one more line to add, which you problably have too.
Code: | VFS: Cannot open root device "hda4" or 03:04
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:04 |
/etc/silo.conf & /boot/silo.conf
Code: | partition = 1
root = /dev/hda4
timeout = 10
image = /boot/vmlinux
label = linux
|
/etc/fstab
Code: | /dev/hda1 /boot ext3 noauto,noatime 1 1
/dev/hda4 / ext3 noatime 0 0
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
The only thing I could think of is maybe my kernel is to big?
Code: | gentoo boot # ls -la vmlinux
-rwxr-xr-x 1 root root 3542565 Sep 10 17:27 vmlinux
|
Any thoughts, need any more info? |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 5:59 pm Post subject: |
|
|
bAZiK wrote: | Give us a bit more info. What does your *complete* silo.conf look like? |
I know you weren't replying to me, but should I have more in my silo.conf? |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Mon Sep 15, 2003 6:06 pm Post subject: |
|
|
cybrjackle wrote: | bAZiK wrote: | Give us a bit more info. What does your *complete* silo.conf look like? |
I know you weren't replying to me, but should I have more in my silo.conf? |
No, its ok. I was at work when i wrote that reply and thought i got more in my silo.conf. |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 6:07 pm Post subject: |
|
|
bAZiK wrote: | cybrjackle wrote: | bAZiK wrote: | Give us a bit more info. What does your *complete* silo.conf look like? |
I know you weren't replying to me, but should I have more in my silo.conf? |
No, its ok. I was at work when i wrote that reply and thought i got more in my silo.conf. |
How big is your kernel? |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 6:09 pm Post subject: |
|
|
Instead of "NONE" in my fstab, should they be something different for the following?
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0 |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Mon Sep 15, 2003 6:09 pm Post subject: ide |
|
|
You remembered ide support in your kernel?
(addition) also, you've definitely got a sun disklabel, not a dos disklabel? |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 6:39 pm Post subject: Re: ide |
|
|
ciaranm wrote: | You remembered ide support in your kernel? |
I'm pretty sure, I'll check when I get home again. I'm at work now.
Quote: |
(addition) also, you've definitely got a sun disklabel, not a dos disklabel? |
Are you asking which one I have or telling me? It's possed as telling me, but has a ? at the end. I'm confused?
I set it up the same way as the sparc install doc's 8.5
Code: | Command (m for help): p
Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders
Units = cylinders of 15120 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 1 14 105808+ 83 Linux
/dev/hda2 15 49 264600 82 Linux swap
/dev/hda3 0 70 519168 5 Whole Disk
/dev/hda4 50 70 158760 83 Linux |
|
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Mon Sep 15, 2003 8:19 pm Post subject: Re: ide |
|
|
cybrjackle wrote: |
I set it up the same way as the sparc install doc's 8.5
Code: | Command (m for help): p
Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders
Units = cylinders of 15120 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 1 14 105808+ 83 Linux
/dev/hda2 15 49 264600 82 Linux swap
/dev/hda3 0 70 519168 5 Whole Disk
/dev/hda4 50 70 158760 83 Linux |
|
Missing the entry for 'Sun disk label'.
Code: |
Disk /dev/sda (Sun disk label): 2 heads, 488 sectors, 36701 cylinders
Units = cylinders of 976 * 512 bytes
|
I doubt thats the reason for your problem tho... better check for the IDE support and expecially the support for the IDE Chipset in your box. |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 8:37 pm Post subject: Re: ide |
|
|
bAZiK wrote: | cybrjackle wrote: |
I set it up the same way as the sparc install doc's 8.5
Code: | Command (m for help): p
Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders
Units = cylinders of 15120 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 1 14 105808+ 83 Linux
/dev/hda2 15 49 264600 82 Linux swap
/dev/hda3 0 70 519168 5 Whole Disk
/dev/hda4 50 70 158760 83 Linux |
|
Missing the entry for 'Sun disk label'.
Code: |
Disk /dev/sda (Sun disk label): 2 heads, 488 sectors, 36701 cylinders
Units = cylinders of 976 * 512 bytes
|
I doubt thats the reason for your problem tho... better check for the IDE support and expecially the support for the IDE Chipset in your box. |
Anyone know what the ide chipset is in a Ultra 10, I've had it working a couple of weeks ago but wanted to start form stage 1. Getting the sparc kernel bellow 3.5 seems to be pretty hard. Maybe I removed the chipset.
Your loosing me on the "Sun disk label" were and why do I need it? I don' t have Solaris on here anymore, my /etc/fstab mirrors what is shown in the install docs and I created the slice's per install doc's. What am I missing with the "Sun disk label"??
Thanks for your help! |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Mon Sep 15, 2003 8:46 pm Post subject: |
|
|
The IDE chipset is option is called "CMD64{3|6|8|9} chipset support" in menuconfig. HTH! |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 8:50 pm Post subject: |
|
|
bAZiK wrote: | The IDE chipset is option is called "CMD64{3|6|8|9} chipset support" in menuconfig. HTH! |
Thanks, I think I did remove that, will check when I get home. Why do people keep asking about the "sun disk label" what am I missing with that?
Last thing, what is "HTH"? Hi there hi. j/k My brain is fried today and I can't think anymore. oh work, the day is almost over! |
|
Back to top |
|
|
sfaulconer n00b
Joined: 06 Aug 2003 Posts: 48
|
Posted: Mon Sep 15, 2003 9:11 pm Post subject: |
|
|
cybrjackle wrote: | bAZiK wrote: | The IDE chipset is option is called "CMD64{3|6|8|9} chipset support" in menuconfig. HTH! |
Thanks, I think I did remove that, will check when I get home. Why do people keep asking about the "sun disk label" what am I missing with that?
Last thing, what is "HTH"? Hi there hi. j/k My brain is fried today and I can't think anymore. oh work, the day is almost over! |
Hopefully I can add some insight to your questions without getting anything wrong.
The disk label is how the partitions are structured on the drive (my understanding) and having a non-Sun disklabel can be a problem, which is why everyone was asking about it. The fact you have a 'Whole Disk' partition indicates to me (my assumption here) that you have a Sun label.
HTH = Hope That Helps (?)
HTH
SMF |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 11:25 pm Post subject: |
|
|
bAZiK wrote: | The IDE chipset is option is called "CMD64{3|6|8|9} chipset support" in menuconfig. HTH! |
That was it! Thanks, |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Sep 15, 2003 11:25 pm Post subject: |
|
|
sfaulconer wrote: | cybrjackle wrote: | bAZiK wrote: | The IDE chipset is option is called "CMD64{3|6|8|9} chipset support" in menuconfig. HTH! |
Thanks, I think I did remove that, will check when I get home. Why do people keep asking about the "sun disk label" what am I missing with that?
Last thing, what is "HTH"? Hi there hi. j/k My brain is fried today and I can't think anymore. oh work, the day is almost over! |
Hopefully I can add some insight to your questions without getting anything wrong.
The disk label is how the partitions are structured on the drive (my understanding) and having a non-Sun disklabel can be a problem, which is why everyone was asking about it. The fact you have a 'Whole Disk' partition indicates to me (my assumption here) that you have a Sun label.
HTH = Hope That Helps (?)
HTH
SMF |
HTH, makes sence now! |
|
Back to top |
|
|
|