Have a new loptop ASUS with Win 8 and duel boot with Ubuntu x64. Decided to put GRUB on a usb stick. Testing out various linux's and do not want to mess with the internal hdd boot method, with gpt partitioning.
[/media/dad/Linux is a partition the the usb stick} that command works good but it requires a lot of rewrites to grub.cfg file and likely others on the usb stick. decided to redo grub install with:Code:sudo grub-install --boot-directory=/media/dad/Linux/ /dev/sdb
that put the grub into the MBR of the usb stick , with the rest of the grub files on the internal hdd.Code:sudo grub-install /dev/sdb
now the problem:
With the last grub-install for some reason ,grub does not see the partitions on the USB stick but once booted into Ubuntu the partitions are visible. I have linux ISO's on the stick partitions and can not boot into them.
Is there a way to have grub in the usb stick MBR with the rest of the grub files on the internal hd and have grub see the usb stick partitions ? I do not understand why grub will not see the 2 partitions on the USB stick. in grub command the 'ls' only list (hd0) with no partition but all of (hd1) partitions '7'. [(hd0)=USB stick, (hd1)=internall hdd]
output of fdisk -l
Code:Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0xf97c441a
Device Boot Start End Blocks Id System
/dev/sda1 1 625142447 312571223+ ee GPT
Disk /dev/sdb: 15.5 GB, 15535702016 bytes
255 heads, 63 sectors/track, 1888 cylinders, total 30343168 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: 0x00031d2e
Device Boot Start End Blocks Id System
/dev/sdb1 137216 20103167 9982976 c W95 FAT32 (LBA)
/dev/sdb2 20103168 30343167 5120000 83 Linux
