View previous topic :: View next topic |
Author |
Message |
thinking n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 May 2005 Posts: 46
|
Posted: Fri Apr 27, 2007 5:50 pm Post subject: liveusb: mounting /dev/sda /newroot failed invalid argument |
|
|
hiho@ll
currently i want my usbpen to boot using liveusb
i used the minimal x86 install iso from
http://adelie.polymtl.ca/releases/x86/2006.1/installcd/install-x86-minimal-2006.1.iso
using
the problem is that the usbpen starts to boot but it halts with the message
Quote: | Could not find CD to boot, something else needed! |
using dmesg it shows that a usb device is found on sda
during the boot process i get a message
Quote: |
attempting to mount media: -/dev/sda
attempting to mount media: -/dev/sda1
|
at the boot: prompt i tried /dev/sda and i get:
/dev/sda[1] is available but i get "mount /dev/sda on /newroot failed: invalid argument"
any hints would be great
EDIT:
well it seems that the default install-x86-minimal-2006.1 kernel has no vfat support
what i would need is a howto compile the kernel for a liveusb
didn't find much about this here
thx@ll |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orkid Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Speedy.gif)
Joined: 07 Jun 2002 Posts: 94 Location: Toronto, Canada
|
Posted: Sun Apr 29, 2007 1:12 am Post subject: |
|
|
how do you figure it doesn't have vfat support? cat /proc/filesystems shows it there if I recall correctly. I have the same problem as you. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thinking n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 May 2005 Posts: 46
|
Posted: Tue May 01, 2007 7:29 am Post subject: |
|
|
i just supposed, cause it didn't work
currently i got it run
read the liveusb gentoo howto
at the bottom of the howto you find how to extract the gentoo.igz file
now compile a 2.6.17 kernel using genpatches-2.6.17-7.base.tar.bz2, genpatches-2.6.17-7.extras.tar.bz2 from http://dev.gentoo.org/~dsd/genpatches/tarballs/ and vfat, codepage 437 and iso8859-1 as module
cp the modules in the corresponding dir from your extracted gentoo.igz directory (/lib/modules/2.6.17-gentoo-r7/kernel/fs)
edit /etc/initrd.scripts
in function "modules_scan"
add
Quote: |
modprobe /lib/modules/2.6.17-gentoo-r7/kernel/fs/nls/nls_cp437 -n -v
backup
modprobe /lib/modules/2.6.17-gentoo-r7/kernel/fs/nls/nls_iso8859-1 -n -v
backup
|
(don't add it within the for loop, well i didn't get it run using the loop, so i modprobe vfat before the loop)
in function "findcdmount"
change the iso filesystem to vfat within the mount command
now recreate gentoo.igz with your changes, cp gentoo.igz back to liveusb
now it should boot
![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|