The big picture is I'm wanting to boot centos 7 and install kvm. So far I've created on this new laptop a big, empty partition; in the BIOS enabled legacy booting and disabled UEFI; also in BIOS under Legacy Boot Order set "USB diskette on key/USB hard disk" on second priority. I've tried to boot from a usb thumbdrive three times and it failed all three times. I'm not understanding what's wrong. I tried all three methods below as root using CentOS 5.11, copied it to the thumbdrive with: dd if=CentOS-7-x86_64-Everything-1503-01.iso of=/dev/sda bs=1024 (Tried this because some webpage said) isohybrid CentOS-7-x86_64-Everything-1503-01.iso dd if=~CentOS-7-x86_64-DVD-1503-01.iso of=/dev/sda None of these successfully booted. Instead they ignored the flash drive as it wasn't there. Documentation in various webpages I found gave different recipes for creating the thumbdrive contents (many of which didn't make sense to me). Does anyone have experience with success with this...? Thanks much. PS. Also in the BIOS, should I enable Virtualization Technology? I'm sorting guess I should. The Windows docs recommend not to. I'm thinking though it would be preferred for KVM. What's the certain verdict?
On Sun, 13 Dec 2015 16:48:25 -0500 ken wrote:> So far I've created on this new laptop a big, empty partition; in the > BIOS enabled legacy booting and disabled UEFI; also in BIOS under Legacy > Boot Order set "USB diskette on key/USB hard disk" on second priority. > I've tried to boot from a usb thumbdrive three times and it failed all > three times. I'm not understanding what's wrong.I install Centos on pretty much everything by setting the bios to use USB as the primary boot device, then booting the Centos Live Image from a flash drive, then hitting the "install to hard drive" icon on the Live Desktop. After the installation is complete, set the bios back to use the hard drive as the primary boot device and you're all set. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
On 12/13/2015 05:00 PM, Frank Cox wrote:> On Sun, 13 Dec 2015 16:48:25 -0500 ken wrote: > >> So far I've created on this new laptop a big, empty partition; in >> the BIOS enabled legacy booting and disabled UEFI; also in BIOS >> under Legacy Boot Order set "USB diskette on key/USB hard disk" on >> second priority. I've tried to boot from a usb thumbdrive three >> times and it failed all three times. I'm not understanding what's >> wrong. > > I install Centos on pretty much everything by setting the bios to use > USB as the primary boot device, then booting the Centos Live Image > from a flash drive, then hitting the "install to hard drive" icon on > the Live Desktop. After the installation is complete, set the bios > back to use the hard drive as the primary boot device and you're all > set.Aha! The problem was that, despite legacy was enabled and uefi was disabled, the bios followed 'uefi boot order' and disregarded 'legacy boot order'. Once I changed uefi boot order appropriately, the bios booted the thumbdrive. However, when the centos menu came up, i.e.: Install CentOS 7 Test this media & install CentOS 7 Troubleshooting --> [use 'e' or 'c' keys] regardless of which of the above three I selected via right-arrow, I was prompted by: error: invalid magic number. error: you need to load the kernel first. Press any key to continue... I tried also using the 'e' and 'c' keys off this menu; this brought into other menus (which are too much to type up) and on another menu where ^E and ^X can be used to 'edit' and 'execute' boot statements, none of which works correctly or is obvious what to alter or enter. I also got into an interface with a 'grub>' prompt. I tried some of the grub commands, but had little clue what to do with that. E.g., "linuxefi /isolinux/isolinux.bin" returned "error: invalid magic number." Interesting, but not getting CentOS 7 booted. Any know what else is possible?
On 12/13/2015 01:48 PM, ken wrote:> > So far I've created on this new laptop a big, empty partition; in the > BIOS enabled legacy booting and disabled UEFI;I'd recommend not doing that. If you're planning to dual-boot, you'll have to reinstall your other OS after changing the boot type. There shouldn't be any reason to disable UEFI or, in most cases, Secure Boot.
On 12/14/2015 12:45 PM, Gordon Messmer wrote:> On 12/13/2015 01:48 PM, ken wrote: >> >> So far I've created on this new laptop a big, empty partition; in the >> BIOS enabled legacy booting and disabled UEFI; > > I'd recommend not doing that. If you're planning to dual-boot, you'll > have to reinstall your other OS after changing the boot type. There > shouldn't be any reason to disable UEFI or, in most cases, Secure Boot.Thanks, Gordon. A lot of talk on Googleland talks about setting the BIOS to legacy mode, so that's the way I went. Centos 7 said nothing the contrary either... or doesn't say much otherwise. But so, yes, taking your advice: I reset all default BIOS settings to previously (UEFI enabled, Legacy disabled) and then accessing the flashdrive at the top of the list. However now booting again, the CentOS 7 menu items all lead to these errors: -------------- Image too small error: /images/pxeboot/vmlinuz has invalid signature error: you need to load the kernel first. Press 'e' to edit the selected line, or 'c' for a command prompt. -------------- Any suggestions as to what to do here?