I have an existing 4G Kangaru (Bootable) Stick that I created with Puppy's 5.11 universal installer that is running out of room. I did NOT reformat the original 4G stick (it has the original FAT32 partition). I purchased an 8GB Kangaru stick to get some expansion room.
Follows are the steps I have performed so far but the new 8GB stick still will not boot:
I copied all the files from the 4G stick to the new 8G stick.
Then I used fdisk to toggle the boot flag on the 8G stick.
Then I dd the first 446 bytes from the 4G stick to the 8G stick with the this command:
Code: Select all
dd bs=446 if=/dev/sda of=/dev/sdb count=1
Code: Select all
df -kh
/dev/sda1 3.8G 2.6G 1.2G 69% /initrd/mnt/dev_sav
/dev/sdb1 7.5G 3.4G 4.1G 46% /mnt/sdb1
Note: I copied three additional large files to the sdb1 partition so the "Used" sizes do not match.
I thought the DOS boot information was located in the first 446 bytes of the first sector?
What else does the Puppy installer scripts do to make a USB stick bootable? I suspect it has something to to with the ldlinux.sys file? The file copy (at the file system level) most certainly did not place the ldlinux.sys file in the same sectors as the original.
Is there a syslinux script that I can run to fix this or do I need to start over?
Maybe I should have originally issued dd /dev/sda to /dev/sdb then expanded the partition to use the remaining area of the larger flash drive using Gparted???
Output of fdisk follows.
Code: Select all
fdisk -lu
23 heads, 23 sectors/track, 14804 cylinders, total 7831552 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 8064 7831551 3911744 c W95 FAT32 (LBA)
Disk /dev/sdb: 8011 MB, 8011120640 bytes
64 heads, 62 sectors/track, 3943 cylinders, total 15646720 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 8064 15646719 7819328 c W95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary.
Thanks Much In Advance for any help!!
Regards, Ron