![]() Unfortunately you will loose your kernel ( /boot/vmlinuz* mostly) and so but if you really mean to never boot up that device, you can try it. That is the place where the pc looks at boot time and where grub lies. If that doesn't work and the old hard drive is still getting booted, you might try the hack to remove the /boot directory (or empty the partition, if so) on this hard drive. The following command will erase mbr, but not your partitions: dd if=/dev/zero of=/dev/sdc bs=446 count=1 NOTE: fdisk doesn't want you to enter sdh6 or even /dev/sdh6, it just wants 6 in this case. sdh6) and if the boot flag (second column) is checked with a * ![]() p your partition scheme, look for the partition number (first column, sdXY, ie.Run fdisk /dev/sdh where sdh is is obviously your right disk.Get the /dev/sdX number (probably lsblk or such, I will use /dev/sdh for now).(sorry, dear windows user, search the Web for removing boot flag and dd, dd basically writes zeros to the first 446 bytes which are AFAIK reserved for the Mbr.) If used wrongly or under special circumstances this might kill only parts of your mbr or other data, like partition scheme, too, so make a backup before. I cannot guarantee success but your bios should skip the hard drive if it doesn't find any boot flag on this hard-drive and no mbr. This will alter the hard drive to remove the "bootable" flag and empty the mbr.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |