Talk:Install to USB From within Linux

From DSL Wiki

Just want to thank you guys. : )


I have a correction for Method III: Using GRUB as boot loader:

#  Create an ext2 partition (=> 51 MB) on pendrive. Mount it. 

I would remove the "Mount it." portion because when you try and write the ext2fs in the next step it will complain about the device being mounted:

/dev/sde1 is mounted; will not make a filesystem here!

--72.29.164.14 9 September 2009 15:14 (UTC)

Method I

In the Method I section I found the note:

'If your system mounts or boots the stick with argument iocharset=utf8, you may get an error where 'KNOPPIX/KNOPPIX' cannot be found upon booting.'

But what is the recommended solution?

I renamed 'KNOPPIX/KNOPPIX' to 'KNOPPIX/knoppix' (on a ext3 filesystem, before (!) I copied it to the usb stick with fat32 filesystem, otherwise I got that the file exists)

It may help to edit the syslinux file and change knoppix to KNOPPIX there and run syslinux -s ... again.

Or is it possible to boot the stick with iocharset=iso8859-1 or iso8859-15, etc?

USB Formating and QEMU + Isolinux Install in Ubuntu 10.04

In Ubuntu 10.04, you can insert your USB device and open nautilus, go to computer and right click on your usb drive. Pick format drive in the option menu. A format dialog will open, click Disk Utility and a you get a really nice disk utility interface:

Image:Ubuntu_10-04_Disk_Utility.png

Your drive will be shown as being mounted. Here's how I did a successful QEMU + Isolinux install:

  1. Click Unmount Volume
  2. Pick Format Drive on the upper left, format as MBR
  3. Pick Create Partition, pick Type as FAT
  4. Pick Edit Partition, check Bootable and click Apply
  5. Click Mount Volume
  6. Extract dsl-4.4.10-embedded.zip to the drive.
  7. Click Unmount Volume
  8. Open a terminal, the drive path will be listed on the disk utility, type:
            sudo syslinux -s /dev/your_usb 

And that should work for Ubuntu, for some reason I would keep getting an error with the "w" command in fdisk and gparted just plain refused to see my usb drive