Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minimal Install from USB on iBook G3: root block device?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Sat Jul 19, 2008 2:06 pm    Post subject: USB Minimal install, PPC: could not mount root block device Reply with quote

I have a clamshell iBook that I'm trying to install Gentoo on. The CD drive doesn't want to read CD-Rs, so I'm trying to create a 'LiveUSB' disc to install from. It's mostly going well. I've followed the instructions from the Debian guide since the Gentoo one seems out-of-date or plain wrong on some counts. I get as far as booting the kernel and loading all those modules, but after that I get hit by this:

!! Media not found
>> No bootable medium found. Waiting for new devices...
>> Looking for the cdrom
~~~ attempting to mount media ~~~
!! Media not found
!! Could not find the CD to boot, something else needed!
>> Determining root device
!! Could not find the root block device in .

I've tried adding doscsi and rootwait or removing cdroot as kernel parameters but to no avail. It detects /dev/hda as the HDD and /dev/hdc as the CD-ROM, /dev/sda is there and is presumably the USB disc.

I'm stuck, what do I do? Thanks, cheers.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sat Jul 19, 2008 11:08 pm    Post subject: Reply with quote

have you tried appending root=/dev/sda1 to the kernel line?

poly-p man
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Tue Jul 22, 2008 2:59 am    Post subject: Reply with quote

Thanks for the suggestion, no joy, unfortunately. Maybe the cdroot parameter is required to mount the LiveCD as /, and so an equivalent 'usbroot' parameter is required to mount a LiveUSB as /?
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Tue Jul 22, 2008 3:13 am    Post subject: Reply with quote

Just to be explicit about how my boot USB disc is configured:

Code:
Command (? for help): p
/dev/sdc
        #                    type name                length   base    ( size )  system
/dev/sdc1     Apple_partition_map Apple                   63 @ 1       ( 31.5k)  Partition map
/dev/sdc2         Apple_Bootstrap LiveUSB             204800 @ 64      (100.0M)  NewWorld bootblock
/dev/sdc3         Apple_UNIX_SVR2 Data               1802174 @ 204864  (880.0M)  Linux native

Block size=512, Number of Blocks=2007038
DeviceType=0x0, DeviceId=0x0

sdc2 has the contents of the 2008.0 PPC Minimal Install CD copied onto it, sdc3 is empty. But, since this is a LiveCD, isn't the root block device the ram disk? After all, the default yaboot.conf has "root=/dev/ram0" appended to the kernel. So maybe it should be ram1 or ram2 in my case? Or a different name altogether?
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Tue Jul 22, 2008 3:38 am    Post subject: Minimal Install from USB on iBook G3: root block device? Reply with quote

I have a clamshell iBook that I'm trying to install Gentoo on. The CD drive doesn't want to read CD-Rs, so I'm trying to create a 'LiveUSB' disc to install from. It's mostly going well. I've followed the instructions from the Debian guide since the Gentoo one seems out-of-date or plain wrong on some counts. I get as far as booting the kernel and loading all those modules, but after that I get hit by this:

!! Media not found
>> No bootable medium found. Waiting for new devices...
>> Looking for the cdrom
~~~ attempting to mount media ~~~
!! Media not found
!! Could not find the CD to boot, something else needed!
>> Determining root device
!! Could not find the root block device in .

I've tried adding doscsi and rootwait or removing cdroot as kernel parameters but to no avail. It detects /dev/hda as the HDD and /dev/hdc as the CD-ROM, /dev/sda is there and is presumably the USB disc.

What is meant to be mounted as the root block device, /dev/ram0?

I'm stuck, what do I do? Thanks, cheers.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Jul 22, 2008 3:48 pm    Post subject: Reply with quote

Try passing rootdelay=10 to the kernel when booting
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Jul 22, 2008 5:32 pm    Post subject: Reply with quote

merged some posts above.

Please don't cross post.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Wed Jul 23, 2008 1:02 am    Post subject: Reply with quote

nixnut wrote:
merged some posts above.

Please don't cross post.

OK, sorry.
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Wed Jul 23, 2008 1:36 am    Post subject: Reply with quote

nixnut wrote:
Try passing rootdelay=10 to the kernel when booting

Thanks, I forgot to mention that I had already tried that too.

At the root block device() :: prompt, if I type /dev/sda2 it responds:

Code:
mount: mounting /dev/sda2 on /newroot failed: Invalid argument
!! Could not mount specified ROOT, try again

Which makes sense, since it is HFS, right? If I type /dev/sda3:

Code:
!! The filesystem mounted at /dev/sda3 does not apear to be a valid /, try again

So /dev/sda3 is mounting... how can I make it a valid /? And out of curiosity, what defines a valid /?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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