I don't used Unetbootin, I only copy the content of the ISO in the partitions. If I want to install, I install without the bootloader and setted it up manually after. This way is safer to not screw up the host computer.
Yes install GRUB.
Until here you where right, and it will be easy to do this in a programme. (I don't know how you partition with python).
You cannot only copy the content of the isolinux.cfg. Isolinux and grub don't have the same syntax. You may only use the isolinux.cfg if you install isolinux on the partition (not the disk).
Here some important differences between grub and isolinux/syslinux :
Grub begins with title instead of label
initrd is not present on isolinux. It is added with the append command
append is not present on grub. The options are pasted after the kernel line.
isolinux include a configfile with include
grub use configfile, with some differences.
These are some differences.
I don't remeber all the changes.
To install grub copy the files in boot/grub on the drive, then run these commands in a grub shell
Code:
find /boot/grub/menu.lst
root (hdX,Y)
setup (hdX,3)
replace the X and Y with the number returned by find. Be carefull to not take the one of your computer.
Yes, it worked by installing on the 4 partition , even if I don't have 4 primaire partition on the disk. I found it on a thread that flash drive don't have MBR and that the bootloader could be installed on there. It worked for me. And even if I installed syslinux after grub, it don't replaced grub. By the way I installed superGrub (it is GRUB with more options)
So here is the important entries of my USB menu.lst
Code:
title Puppy 400
kernel $(grub_device)/vmlinuzPuppy lang=es a11y=none root=/dev/ram0 ramdisk_size=100000 initrd=initramfs quiet BOOT=live splash
initrd $(grub_device)/initrd
title live
root (hd0,5)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper
initrd /casper/initrd.gz quiet splash --
title live-install
root (hd0,5)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity
initrd /casper/initrd.gz quiet splash --
title check
root (hd0,5)
kernel /casper/vmlinuz boot=casper integrity-check
initrd /casper/initrd.gz quiet splash --
title SystemRescueCD
root (hd0,6)
kernel /isolinux_SRCD/rescuecd init=/sbin/init
initrd /isolinux_SRCD/initram.igz
boot
Also the fdisk -l if you want to see it:
Code:
Disk /dev/sdb: 16.1 GB, 16173236224 bytes
64 heads, 32 sectors/track, 15424 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x00080570
Device Boot Start End Blocks Id System
/dev/sdb1 1 8462 8665072 b W95 FAT32
/dev/sdb2 10650 14431 3872768 83 Linux
/dev/sdb3 8463 10649 2239488 5 Extended
/dev/sdb4 14432 15424 1016832 b W95 FAT32
/dev/sdb5 9254 9945 708608 b W95 FAT32
/dev/sdb6 8463 9253 809952 b W95 FAT32
/dev/sdb7 9946 10649 720880 b W95 FAT32
There are some partition with none working oses.
If you need more infos please post, I'm open to help you doing these.
Bookmarks