Hello:
I used Debian Wheezy net install to partition and install Debian on a
32G thumbdrive. The installation went well, and I was able to boot using
Grub2. However, since I couldn't boot my regular hard drive debian
install without the usb stick in, I have reset grub and now I can't boot
in debian in the stick.
The issue though is that I would like to use the USB stick on a computer
that does not have grub or any GNU/Linux distro installed.
Someone on #debian directed me towards extlinux/syslinux.
I have two partitions on the stick, one is for / and the other is for
/home. The actual partitions are both ext4, which means I would have to
use extlinux.
My question, how can I use extlinux to install a bootloader that will
work with the stick only (no hd necessary), and how can I do this when
using the Debian installation on my harddrive (not the one in the stick.)?
When I run fdisk -l, this is what I get about the partitions on the
thumbdrive:
Disk /dev/sdb: 32.0 GB, 32015679488 bytes
255 heads, 63 sectors/track, 3892 cylinders, total 62530624 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e4bc3
Device Boot Start End Blocks Id System
/dev/sdb1 * 32 39062531 19531250 83 Linux
/dev/sdb2 39063550 62529535 11732993 5 Extended
/dev/sdb5 39063552 62529535 11732992 83 Linux
Many thanks for your help and support on this,
Loic