Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boot hangs on >> Attempting to mount media: (want to fix)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
litan
n00b
n00b


Joined: 13 Aug 2012
Posts: 51

PostPosted: Mon Aug 13, 2012 3:54 am    Post subject: boot hangs on >> Attempting to mount media: (want to f Reply with quote

Hello!

I have trouble booting install-x86-minimal-20120710.iso from an USB-stick on my Netbook,
that lacks a CD-drive.

It hangs on:

Code:

>> Attempting to mount media:- /dev/sda1
>> Attempting to mount media:- /dev/sda2


First of all, I have found this issue on the forum several times,
and I apologize for bringing it up again,
but I did not find a real solution.
Yes, I could boot from SystemRescueCD, or whatever distro,
but I don't like discarding things, if they don't work right away.
It is not my main objective to simply get this installation done, but rather to understand whats going on,
and how to fix it.
I would really appreciat if you help me with that.

If I understand this right, the kernel mounts all available partitions from first to last,
till he finds the partition that contains the ISO (which is in my case /dev/sdb1),
is that correct?

On /dev/sda1 is an ext2 partition, and /dev/sda2 is an extended partition, and I guess that's the
reason it hangs, isn't it?

If I boot with nodetect, it does not hang, but neither my HDD nor my USB stick have sd* nodes under /dev anymore.

Booting with doscsi, noacpi, and dosata has no effect.

When booting with debug, I get a busybox shell.
Is this a place to start?
Since I know where the ISO resides, I can mount it manually. Can I further tell the system somehow where to look
for it and to leave my extended partitions alone?

Is this a bug, and if yes,
how can I contribute to fix it?
It seems this issue persists for some years now.

Thanks for your time!
Back to top
View user's profile Send private message
Odward
n00b
n00b


Joined: 21 Mar 2012
Posts: 65

PostPosted: Mon Aug 13, 2012 4:35 am    Post subject: Reply with quote

I'm afraid I don't have the knowledge to tell you what / why that is occurring.

I can suggest passing the cdroot=/dev/sdb1 option as a kernel parameter to see if that works properly, if that's any help.
Back to top
View user's profile Send private message
litan
n00b
n00b


Joined: 13 Aug 2012
Posts: 51

PostPosted: Mon Aug 13, 2012 4:48 am    Post subject: Reply with quote

Code:

Attempting to mount media:- /dev/sdb1


Great!
This has done the trick!
Many thanks! =)
Back to top
View user's profile Send private message
teknic111
n00b
n00b


Joined: 24 Aug 2012
Posts: 1

PostPosted: Fri Aug 24, 2012 1:59 am    Post subject: Reply with quote

Hi, I'm having the same exact problem. How exactly do you pass the cdroot=/dev/sdb1 option as a kernel parameter?

Thanks in advance!
Back to top
View user's profile Send private message
Odward
n00b
n00b


Joined: 21 Mar 2012
Posts: 65

PostPosted: Fri Aug 24, 2012 3:19 am    Post subject: Reply with quote

**Edited, I originally thought F2 but I read the handbook and I think that just shows you a screen with possible parameters to pass.
F1 should show you available Kernels. Sorry I don't currently have a default bootable version of Gentoo to simply pop in and test.

If you're using one of the Gentoo install media, I think you have 20 seconds or less before it boots default kernel / options, just hit
a down / up arrow it will halt the countdown so you can read the screen carefully. You might have to press Tab to see the extra options?

Once you see a list of the kernel and commands being passed. You can just append cdroot=/dev/sdX where X is the appropriate
location of the usb drive you're trying to boot from. If you have two hard drives, and are trying to boot from a usb drive it might
be /dev/sdc1 etc.

It should look like
Code:
boot: gentoo defaultOptions cdroot=/dev/sdb1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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