Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with liveusb and squshfs image [solved]
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
insane.awmn
n00b
n00b


Joined: 22 Mar 2006
Posts: 24
Location: Athens

PostPosted: Wed Sep 30, 2009 10:50 am    Post subject: problem with liveusb and squshfs image [solved] Reply with quote

Hi all

I follow this wiki http://en.gentoo-wiki.com/wiki/Build_Your_Own_LiveCD_or_LiveDVD to create a live-usb
i used genkernal as well but i cant mount to squashfs image

my grub settings are
Quote:

title gentoo
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.29-gentoo-r6 root=/dev/ram0 real_root=/dev/loop0 looptype=squashfs loop=livecd.squashfs initrd udev cdroot slowusb nodevfs
initrd /boot/initramfs-genkernel-x86-2.6.29-gentoo-r6


but i get this
Quote:

>> Activating mdev
>> Making tmpfs for /newroot
>> Looking for the cdrom
>> Determining root device...
>> Determining looptype ...
!! Invalid loop location: /livecd.squashfs
!! Please export LOOP with a valid location, or reboot and pass a proper loop=...
!! kernel command line!


If anyone has any ideas ?????

Thanks
_________________
Elpizw o Theos na sas xarizei eutixia...................


Last edited by insane.awmn on Mon Oct 05, 2009 2:19 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Sep 30, 2009 9:13 pm    Post subject: Reply with quote

http://www.gentoo.org/doc/en/liveusb.xml is the "official" guide

http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick "the better idea"

This stuff is located where a kernel argument should be
Quote:
looptype=squashfs loop=livecd.squashfs initrd udev cdroot slowusb nodevfs
but there are no valid kernel arguments in the list.

http://www.mjmwired.net/kernel/Documentation/kernel-parameters.txt

some are valid genkernel arguments but they need to be used when invoking genkernel.

http://www.gentoo.org/doc/en/genkernel.xml
Back to top
View user's profile Send private message
insane.awmn
n00b
n00b


Joined: 22 Mar 2006
Posts: 24
Location: Athens

PostPosted: Thu Oct 01, 2009 5:37 am    Post subject: Reply with quote

I think the broblem is at the genkernel linuxrc script ,when i get the shell from the failure of live.squashfs ,i mount manualy the /dev/sda1 to /newroot/mnt/cdrom and then the livecd.squashfs to /newroot/mnt/livecd ,exit from the shell and then boots fine.
_________________
Elpizw o Theos na sas xarizei eutixia...................
Back to top
View user's profile Send private message
insane.awmn
n00b
n00b


Joined: 22 Mar 2006
Posts: 24
Location: Athens

PostPosted: Mon Oct 05, 2009 2:18 am    Post subject: Reply with quote

SOlVED

i had forgot to greate the empty file livecd ! everything works now !
_________________
Elpizw o Theos na sas xarizei eutixia...................
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Oct 05, 2009 2:24 am    Post subject: Reply with quote

Well done.
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