Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bootable usb thumb drive with 2 partitions
- partition 1 - ntfs
- partition 2 - ext4
- copy boot folder to partition 2.
- set partition 2 as bootable
- from linux box
- CAN use gparted to create partitions
- 1 setup partitions
- 2 format partitions
- 3 mount ext4 partition on linux box
- 4 mkdir "/mnt/usbp2/boot/grub"
- 5 from linux box run "grub-install --boot-directory /mnt/partition2/boot /dev/usbp2"
- 6 replace "/mnt/usbp2/boot/grub/grub.cfg" with this grub.cfg
- 7 copy overwriting /"mnt/usbp2" with this stuff (memdisk, *.iso, etc)
- -----------------------------------------
- version 2.0
- zero out partition table
- sudo dd if=/dev/zero of=/dev/sdx bs=512 count=4
- gparted
- device --> create partition table "msdos"
- create 2 partitions
- p1 = ntfs (7.xGB)
- p2 = ext4 (500MB)
- exit
- install grub bootloader to usb device
- sudo grub-install --boot-directory /mnt/usbp2/boot /dev/sdx
- copy boot folder to usb p2
- sudo cp -r ./boot /mnt/usbp2
- reboot to usb and test.
- ------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement