My hard drive is going bad, so I swapped it out for another temporary one to use in making a bootable thumb drive to install OpenSUSE on a new drive I just bought. This temporary drive has an old and defective version of Mandriva (Yeeech!) installed and can’t be upgraded or added to, so I’m limited to dd and fdisk.
The thumbdrive I’m using was recognised as a non-bootable drive when booting the OS - *until *I used dd to install the iso on it. Now with it plugged in the computer just boots into Mandriva without recognising the existence of the plugged in thumbdrive.
Once fully booted up I can mount the thumbdrive and view its contents.
fdisk -l does NOT work on this system. So I use fdisk /dev/sdb, then p to print this info:
**fdisk /dev/sdb**
The number of cylinders for this disk is set to 4244.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): **p**
Disk /dev/sdb: 4016 MB, 4016045568 bytes
33 heads, 56 sectors/track, 4244 cylinders
Units = cylinders of 1848 * 512 = 946176 bytes
Disk identifier: 0xcee0ec63
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4245 3921919 b W95 FAT32
Note that the boot flag is set. The thing with the cylinders is a mystery to me. The command I used to write the iso (as root, not sudo) is:
dd if=/home/russ/OpenSUSE/openSUSE-13.1-KDE-Live-x86_64.iso of=/dev/sdb1 bs=4M && shutdown -r now
It writes just fine, then reboots - straight back into Mandriva. What to do?