Power Developer https://powerdeveloper.org/forums/ |
|
Installed Gentoo, cant get it back up? https://powerdeveloper.org/forums/viewtopic.php?f=8&t=548 |
Page 1 of 1 |
Author: | XzIt [ Mon Mar 27, 2006 10:07 am ] |
Post subject: | Installed Gentoo, cant get it back up? |
I installed Gentoo yesterday.. I followed the Guide step by step and have now rebooted.. Now i can't get Gentoo back up..... My Boot string is as followed: # Boot /pci/ide/disk@0,1:0 /boot/kernel-2.6.15 root=/dev/hdb1 Plz, help. XzIt |
Author: | lugduweb [ Mon Mar 27, 2006 2:33 pm ] |
Post subject: | |
Don't panic : If something is wrong in your install, you can always boot. For that you have several choices : 1) if you have another Linux install on your HD, you can use it to test your gentoo env in a shell 2) using a linux live CD to boot (see Ubuntu liveCD for example, or Mupper rescue CD) For (1), after having edited /etc/fstab to add your gentoo partition, it should be (almost) a piece of cake to make it run under your other environment... Something like that might help (it's in Gentoo's doc) : (Mount the proc filesystem) # mount -t proc none /mnt/gentoo/proc (Chroot into the new environment) # chroot /mnt/gentoo /bin/bash (Load the necessary variables) # env-update; source /etc/profile You also have to change display if you are under another Linux distrib (export DISPLAY) so you can use GUI gentoo apps in your shell. I can't remember all the syntax yet... I'm going to check this. But I had a problem of boot with gentoo and that's how I solved it. Note : for the gentoo pb, check the modules you've included. BTW, what is your error message ? |
Author: | ironfist [ Mon Mar 27, 2006 10:09 pm ] |
Post subject: | |
Xzit: Where is your swap located? hdb2? Usually swap is located before root. It looks like you have your boot on the same partition as root. Since it can load your bootkernel the partition works. Try adding init=/linuxrc, videoradeonfb:1024x768, console=ttyS1,115200 to your bootstring. If this doesn't work - do what Geoffrey told you. Mupper is here. |
Author: | czp [ Tue Mar 28, 2006 1:14 am ] |
Post subject: | |
What filesystem do you use on the partition containing /boot ? It needs to be ext2/ext3 in order to be read by OpenFirmware. If not, you need to boot from a gentoo or rescue CD, create an ext2 or ext3 partition, copy your kernel there, and boot from there. CzP |
Author: | XzIt [ Tue Mar 28, 2006 3:57 am ] |
Post subject: | |
im using ext3 on my disk Yes i have my swap after the linux disk, i heard this is bad because of speed reasons? one other thing i don't need to have 2 partions? Xzit |
Author: | lugduweb [ Tue Mar 28, 2006 4:29 am ] |
Post subject: | |
Do you have an error message or something ? What happens exactly ? |
Author: | XzIt [ Tue Mar 28, 2006 1:25 pm ] |
Post subject: | |
I'll check it tonight. But the end error message is " Kernel Panic, 180 sec to reboot" or something. XzIt |
Author: | nixnut [ Tue Mar 28, 2006 1:41 pm ] |
Post subject: | |
Better check your kernel config to make sure you have all the needed drivers for the ide controller and for the partition type on your harddisk. Have you searched in the 'Gentoo on PPC' forum on forums.gentoo.org yet? |
Author: | lugduweb [ Wed Mar 29, 2006 12:45 am ] |
Post subject: | |
Do you have a message error that looks like that : "VFS : Cannot open root device "hdb1" or unknown block(0,0)" ? |
Author: | XzIt [ Thu Mar 30, 2006 7:40 am ] |
Post subject: | |
I tried a bunch of options when i got back home and this are the results... When running the boot string, "Boot /pci/ide/disk@0,1:0 /boot/Kernel-2.6.15 ram=/dev/hdb1" This is the Error Message: VFS: cannot open root device "<NULL>" or unknown-block(8,2) Please append a correct "root" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) Rebooting in 180 Seconds When i run the string, "Boot /pci/ide/disk@0,1:0 /boot/Kernel-2.6.15 root=/dev/hdb1" This is the Error Message: VFS: cannot open root device "hdb1" or unknown-block(0,0) Please append a correct "root" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Rebooting in 180 Seconds When i run the ekstra options that Ironfist gave me, the linux stops at the boot screen only showning TUX in the upper left corner.. But do i need to set up the harddisk all over again? I have only one Partion for my linux, do i really need 2? one Boot and one Root? Tried running the Commands u gave me Geoffery, Mount the proc filesystem) # mount -t proc none /mnt/gentoo/proc (Chroot into the new environment) # chroot /mnt/gentoo /bin/bash (Load the necessary variables) # env-update; source /etc/profile But for some reason i could not run them.. I booted for the Gentoo cd, my only option to get back in the linux console. XzIt |
Author: | nixnut [ Thu Mar 30, 2006 11:49 am ] |
Post subject: | |
Quote:
VFS: cannot open root device "hdb1" or unknown-block(0,0)
That sure looks like a kernel configuration problem. If you get that fixed your kernel will be able to find and mount the root filesystem and you should have a working system.Please append a correct "root" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Rebooting in 180 Seconds Perhaps it is as simple as enabling CONFIG_BLK_DEV_VIA82CXXX as suggested here |
Author: | lugduweb [ Thu Mar 30, 2006 12:36 pm ] |
Post subject: | |
Very interesting as I had the same problem (and did not have time to finally solve it). I was more thinking about a missing EXT3 module but it was here. So when it works, please tell us what is missing ! |
Author: | dholm [ Sat Apr 01, 2006 7:18 am ] |
Post subject: | |
Also make sure you compiled in support for amiga partition tables. Otherwise the kernel will not be able to decode the partition table and therefore cannot find hdb1. You will find it under File systems -> Partition Tables. Activate "advanced partition selection" and make sure "Amiga partition table support" is enabled. |
Author: | lugduweb [ Sat Apr 01, 2006 1:03 pm ] |
Post subject: | |
Somebody else had the same problem with Montavista : See : VFS: Unable to mount root fs on unknown-block(1,0) |
Author: | nixnut [ Sat Apr 01, 2006 2:31 pm ] |
Post subject: | |
Quote: VFS: Unable to mount root fs on unknown-block(1,0)
(1,0) indicates a problem with the ramdisk. That's a slightly different problem than a missing driver for a disk controller or for a type of partition table. Those usually show some error with unknown-block(0,0) in it. |
Page 1 of 1 | All times are UTC-06:00 |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |