Ubuntu LTS 12.04 boot confusion
I have installed Ubuntu 121.04 LTS alternate with full disk encryption enabled on an HP DV7 laptop equipped with two 750GB 7200rpm disk drives. After initially configuring the system, I booted from the CD and without mounting either drive I cloned sda to sdb by issuing the command "sudo dd if=/dev/sda of=/dev/sdb". It took about 7 hours for the command to complete.
Over the course of about two weeks, several reboots, and a few package installations, I copied some data to the computer (always using the default sda drive only. When I rebooted the computer, the data was missing. Thinking that the computer might have booted to the wrong drive, I rebooted with the sda drive unplugged. Ubuntu complained that the boot drive was missing. I plugged it back in and tried another reboot but this time it told me I had a bad boot sector.
I unplugged the computer, removed the battery, and swapped the hard drives. When I booted back up, the "missing" data was there along with one of the packages I had previously installed. Somehow the computer booted using sdb as the boot drive. I am now running with sdb unplugged so that the machine can not boot from sdb.
Is this a known bug in ubuntu? Should I only plug in the sdb drive whenever I want to clone my primary drive. It would be nice if I didn't have to open the box every time I want to perform a backup.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: