Re: linux on a usb stick : crc error



Luciano wrote:
On Wed, 26 Oct 2005, J. Mektub wrote:


On Wed, 26 Oct 2005 09:59:12 +0200, Luciano
<nhbfluci@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:


Hi,

is it possible to boot and run linux directly from a usb stick
on a machine with no hard disk , no cdrom , no floppy?
If yes are already howtos available?

Thanks
Luciano

Look at:

http://slax.linux-live.org/

http://www.goosee.com/puppy/

Mektub




I "did my homework".
this is (more or less) what I did:
0) formatted the usb stick as vfat
1) I got slax-popcorn
2) mount -o loop foo.iso /mnt/linuxusb
3) mount -t vfat /dev/sda1 /mnt/stick

I don't think this is what you want... I would have tried dd if=foo.iso bs=2k of=/dev/sda Note the total lack of a "1" on the of= clause.

I haven't tried this in ages, something similar worked when I had a bunch of 420MB IDE drives around, and could make that hda and put a "real" drive elsewhere.

Remember that the boot sector has to use BIOS commands, so "but it's not a CD" doesn't necessarily apply.
4) cp -ra /mnt/linuxusb/* /mnt/stick
5) moving isolinux.cfg to syslinux.cfg
6) some editing of syslinux.cfg
7) umount /mnt/stick
8) syslinux /dev/sda1
9) some magic with bios and "smart boot manager"


-- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com .



Relevant Pages

  • ~~~~~~~~~~~~~~ USB BOOT ~~~~~~~~~~~~~~
    ... boot external sata on usb ... usb boot disk download ... which usb drives will boot dell ...
    (sci.psychology.personality)
  • newbie - trying to install solaris 2.6 on sparcstation ipc
    ... i recently acquired a Sparcstation IPC for free. ... and i've temporarily added a cdrom via the external scsi port. ... boot disk command. ... gave the same bad magic number results on the hard disk, ...
    (comp.sys.sun.admin)
  • Re: tiny linux distr. with dvdplayer only
    ... > something at the boot prompt and it will install. ... Copy everything else from the cdrom there too. ... > cdrom mounting bit and change it to use the hard disk. ...
    (alt.os.linux)
  • Re: soundcard SoundBlaster PCI128 or SoundBlaster live1024 problem
    ... > What messages are you getting from boot log and dmesg? ... ACPI tables contain no PCI IRQ routing entries ... RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize ... USB Universal Host Controller Interface driver v2.2 ...
    (comp.os.linux.hardware)
  • Re: Installing Fedora 3 on USB Hard disk;
    ... >> I am tryin gto dual boot with Windows XP at the moment while awaiting ... >> USB driver of which one is for USB mass storage, ... >> think that it is detecting the external hard disk. ... >> I want to install fedora on i only get the option of the internal hard ...
    (Fedora)