[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#696737: Info received (Bug#696737: installation-reports: my pc is rc950. when i cat ISO image > /dev/myUSBstick (dd'd before with /dev/zero) then after sync and eject and reboot ivgot syslinux.bin missing or corrupt. after load from Flexible way created USB with fat16 then it show nothing)



Hello there

Im experimented with syslinux on my USB stick. As result, nothing new. But im choosen grub2 instead of syslinux. I am installed grub2 on my USB stick, created grub.cfg with next:
menuentry "debian-6.0.6-amd64-i386-netinst.iso" {
  loopback loop /debian-6.0.6-amd64-i386-netinst.iso
  linux (loop)/install.386/vmlinuz
  initrd (loop)/install.386/initrd.gz
}

and happily booted installer from USB! Hurray!!!

P.S.

links:
* http://www.linuxquestions.org/questions/linux-software-2/booting-from-usb-drive-but-only-in-fat16-4175432257/
* http://aptosid.com/index.php?name=PNphpBB2&file=printview&t=1826&start=0
* http://www.wallix.org/2011/11/02/automatic-installation-of-debian-squeeze-from-a-usb-flash-drive/
* http://www.panticz.de/MultiBootUSB

instructions how to create a MultiBootUSB with grub2 and any debian ISO:
1. insert your USB stick
2. check 'dmesg' output for info about your USB stick
3. type in console # fdisk /dev/sdb (last label is depend on your 'dmesg' output) 4. in fdisk: d, n, p, 1, 200, enter, w (200 is a space in begin of your USB stick for grub2)
5. in console: mkfs.vfat -E 32 /dev/sdb (as root)
6. create folder /mnt/1, mount /dev/sdb1 /mnt/1
7. in console: grub-install --force --root-directory=/mnt/1 --no-floppy
8. nano /mnt/1/boot/grub/grub.cfg
9. put this:
menuentry "debian-6.0.6-amd64-i386-netinst.iso" {
  loopback loop /debian-6.0.6-amd64-i386-netinst.iso
  linux (loop)/install.386/vmlinuz
  initrd (loop)/install.386/initrd.gz
}
10. save (Ctrl+o, enter, Ctrl+c)
11. copy debian-6.0.6-amd64-i386-netinst.iso to /mnt/1
12. umount /dev/sdb1
13. ready! u can test result by typing in console: qemu /dev/sdb (only if qemu installed)

thanks

dmitry


Reply to: