Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Instaletion media not found
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
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 124

PostPosted: Sat Aug 29, 2015 2:50 pm    Post subject: [SOLVED] Instaletion media not found Reply with quote

Hello, community.
I booted an instalation medium from USB stick than I got next error:

Code:
!!  Media not found.
!!  Could not find CD to boot, something else needed!
>> Determine root device...
!!  Could not find the root block device in .
!!  Please specify for the same
!!  - press Enter for the same
!!  - type "shell" for shell
!!  - type "q" for skip...
root block device() :: _


I have tried different combinations of hardware, stiks and images. The result is the same error.

I am using this manual to create bootable USB stick https://wiki.gentoo.org/wiki/LiveUSB
It used to be enough :(
Please help!
_________________
Make a wish, this text is magic. :)


Last edited by umka69 on Sun Aug 30, 2015 8:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Aug 29, 2015 7:47 pm    Post subject: Reply with quote

that looks like busybox from an initramfs.

you may add a delay to the boot sequence so the usb stick gets some time to boot up..

alternatively you can utilize the busybox shell, which you already see in that output and mount your stick and move on ...


http://wiki.freegeek.org/index.php/GRUB

Quote:
From the GRUB menu:

Highlight the standard kernel (usually something like Ubuntu, with Linux 2.6.32-33-generic), and press 'e'. You should see something similar to this:

recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 732c5f94-8dcb-4622-96ea-797dd2431f90
linux /boot/vmlinuz-2.6.35-30-generic root=UUID=732c5f94-8dcb-4622-96ea-797dd2431f90 ro quiet splash
initrd /boot/initrd.img-2.6.35-30-generic

Scroll down to the line that starts with linux then scroll to end of the line after splash
Enter 'rootdelay=60'
Hit Ctrl+x to boot the image with modified parameters.


important the thing about rootdelay and linux line, its different for your medium, but i am quite sure that you use grub.

my personaly installation method is to install a binary distro, like linux mint and chroot from that. you can later move the partitions, or change it to swap ...
Back to top
View user's profile Send private message
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 124

PostPosted: Sat Aug 29, 2015 9:34 pm    Post subject: Reply with quote

I'm using install-amd64-minimal-201*****.iso imeges from gentoo mirrors.
There is no bootloader menu while booting.
Can you adwise how to set a delay there?

And the other question. A tried to mount stick manualy. An error again. Hire it is:
Code:
root block device() :: shell
# mount
proc on /proc type proc
udev on /dev type devtmpfs
devpts on /dev/dev/pts type devpts
# mount /dev/sdb1 /newroot
mount: mounting /dev/sdb1 on /newroot/ faild: Invalid argument

_________________
Make a wish, this text is magic. :)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sun Aug 30, 2015 8:26 am    Post subject: Reply with quote

You can chroot from any medium which boots your box.

I usually chroot(ed) (past) from arch linux or linux mint. Afaik any 64 bit works for 64bit for example.

you may try sysrescuecd, that afaik works quite well.
the minimum disc is hardly used waht i see on the post of others.

It is just an installation medium, you can chroot from anything as long its the same bit architecture and your hardware is supported. The essential is that network works on the medium in question.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Aug 30, 2015 9:42 am    Post subject: Reply with quote

umka69,

For starting from USB, SystemRescueCD is the way to go.
Follow the instructions for a working USB install.

Your manual mount fails as the Gentoo root on the CD is provided as a squashfs file, its not a real device like /dev/sdb1.
mount -t squashfs -o loop /path/to/file .... is the form of the command you would need.
As the kernel mounts root before it starts USB, you need scandelay=7 as one of your kernel parameters for mounting root on USB to work automatically.

The Gentoo iso is only a toolkit. None of its code ends up in your install.
You can use any Linux you have to hand, with the constraint that you need a 64 bit kernel ot do a 64 bit install, to install Gentoo.
The binaries to start off your install are provided in the stage3, which you download later.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 124

PostPosted: Sun Aug 30, 2015 2:45 pm    Post subject: Reply with quote

I tried Mint Cinnamon ISO and it works. So the solution has been found. Thank you guys. :D

Nevertheless, I don't understand the nature of the bug. Why doesn't native Gentoo installation medium work?
I tried all advices above with no positive result. Can it be fixed? Does it necessary to be posted as a bug report?
_________________
Make a wish, this text is magic. :)
Back to top
View user's profile Send private message
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 124

PostPosted: Sun Aug 30, 2015 3:58 pm    Post subject: Reply with quote

NeddySeagoon wrote:
umka69,
Your manual mount fails as the Gentoo root on the CD is provided as a squashfs file, its not a real device like /dev/sdb1.
mount -t squashfs -o loop /path/to/file .... is the form of the command you would need.
As the kernel mounts root before it starts USB, you need scandelay=7 as one of your kernel parameters for mounting root on USB to work automatically.


It seems that something is missing in this manual mountiong
Code:
root block device() :: shell
# mount -t squashfs -o loop /newroot/
mount: can't find /newroot it /etc/fstab


this boot option doesn't work to.
Code:
boot: gentoo scandelay=7

_________________
Make a wish, this text is magic. :)


Last edited by umka69 on Sun Aug 30, 2015 5:54 pm; edited 2 times in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sun Aug 30, 2015 5:53 pm    Post subject: Reply with quote

mostly the gentoo installer medium lacks some kernel modules needed for your setup. or some kernel parameters.
happens with newer hardware or just sometimes. nothing unusual.
Back to top
View user's profile Send private message
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 124

PostPosted: Sun Aug 30, 2015 8:05 pm    Post subject: Reply with quote

Ok, I got it. Thanks. :)
_________________
Make a wish, this text is magic. :)
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