View previous topic :: View next topic |
Author |
Message |
ebike Guru
Joined: 07 Dec 2002 Posts: 384 Location: Christchurch, New Zealand
|
Posted: Fri Jun 23, 2006 10:13 pm Post subject: Cannot make a liveUSB as per the guide |
|
|
Hi All,
I have followed the guide here --> http://www.gentoo.org/doc/en/liveusb.xml to the letter, but when I try to
boot the device, It complains it can not find the "linux" image ... ie the bootloader, syslinux, boots ok.
I notice that when I do a I get the following:
Code: |
fdisk -l /dev/sda
Disk /dev/sda: 252 MB, 252968960 bytes
255 heads, 63 sectors/track, 30 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
laptop Desktop #
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30 240943+ 83 Linux
|
Note that the System is "Linux" not FAT32 even though I did use Quote: | mkdosfs -F 32 /dev/sda1 | on
the partition .... I don't no what gives, I repeated the process to the letter 3 times.
Thanks. _________________ --
Politicians are like nappies (Diapers), you need to change them often, and for the same reason .... |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Sat Jun 24, 2006 3:43 am Post subject: |
|
|
I recently 'built' a minimal install LiveUSB. If I remember correctly, there were a few difference in the steps I took to get it working. In other words, the instructions were a good start, but I had to figure the differences out.
Give me a chance to find my notes tomorrow, and I'll document what I did to get it working.
Don't get discouraged. If you want to build one, because you find yourself installing alot (for whatever reason) this is the way to go. |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Sat Jun 24, 2006 4:32 am Post subject: |
|
|
Ok, looks like the first thing you have to try is deleting all partitions you may have created on the flashdrive. I tried to create multiple partitions but wasn't able to get my winbox to see the extra partition, and ended up just using one partition.
These are the commands I used to partition the flashdrive:
Code: | fdisk /dev/sda
p <just to make sure all deleted>
n
p
1
<hit return for first cylinder>
<hit return for second cylinder>
t
b
a
1 |
I've been writing an install script just to learn bash scripting, and consequently perform quite a few installs in the process. It's a networkless install, which is why I use the winbox, to download the necessary distfiles to transfer to the linbox.
The above code should cure your fdisk -l /dev/sda1 problem.
And the other thing of note, is I just emerged syslinux like this:
Which ends up being syslinux-3.11 for the snapshot I'm using. I had difficulties trying to emerge it the way the author specified in the HOWTO. I received a "not a valid package atom" error when I tried it that way. But it looks like you were able to emerge syslinux without problems.
But I'm willing to bet that once you get the right type of partition on the flashdrive, you will be golden and absent the complaint that it cannot find the linux image. As long as you don't forget to apply the filesystem as specified =) |
|
Back to top |
|
|
ebike Guru
Joined: 07 Dec 2002 Posts: 384 Location: Christchurch, New Zealand
|
Posted: Sat Jun 24, 2006 4:43 am Post subject: |
|
|
Hi,
I had deleted all the partitions, then made a new bootable primary partition, then put a dos32 filesystem on that
partition, so I guess I am still no wiser
Thanks anyway. _________________ --
Politicians are like nappies (Diapers), you need to change them often, and for the same reason .... |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Sat Jun 24, 2006 4:55 am Post subject: |
|
|
Setting the partition to type 'b' didn't help? |
|
Back to top |
|
|
ebike Guru
Joined: 07 Dec 2002 Posts: 384 Location: Christchurch, New Zealand
|
Posted: Sat Jun 24, 2006 5:14 am Post subject: |
|
|
oops, missed the "b" type.
In the meantime I formated the drive with a windoz box to fat32 and that part was ok as reported by
fdisk. I then contined the installation per the howto, but I still get the error _________________ --
Politicians are like nappies (Diapers), you need to change them often, and for the same reason .... |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Sat Jun 24, 2006 12:27 pm Post subject: |
|
|
Since you've got nothing better to do =) <joke>
Post the exact error you get and the command you ran that produced it.
I didn't use windows to partition the flashdrive, and don't know if that's part of your problem. |
|
Back to top |
|
|
ebike Guru
Joined: 07 Dec 2002 Posts: 384 Location: Christchurch, New Zealand
|
Posted: Sun Jun 25, 2006 7:14 am Post subject: |
|
|
I re-formatted the drive as per your instructions under linux, but still the same error.
The error is on boot, as mentioned on the origibal post, syslinux boots, I get the "boot:" prompt and an
error message that states " can not find linux image "
That is from memory, as I cannot copy from the boot window to the net .... _________________ --
Politicians are like nappies (Diapers), you need to change them often, and for the same reason .... |
|
Back to top |
|
|
|
|
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
|
|