Re: CentOS-virt Digest, Vol 100, Issue 12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I also face this kind of error while installing centos from usb drive and when I select it uefi mode in bios its got resolve the issue and finally i am able to install centos from usb drive.​





Regards,
Sahil | 9930870258

On Mon, Dec 14, 2015 at 5:30 PM, <centos-virt-request@xxxxxxxxxx> wrote:
Send CentOS-virt mailing list submissions to
        centos-virt@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.centos.org/mailman/listinfo/centos-virt
or, via email, send a message with subject or body 'help' to
        centos-virt-request@xxxxxxxxxx

You can reach the person managing the list at
        centos-virt-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-virt digest..."


Today's Topics:

   1. boot thumbdrive with CentOS 7 ISO??? (ken)
   2. Re: [CentOS] boot thumbdrive with CentOS 7 ISO??? (ken)


----------------------------------------------------------------------

Message: 1
Date: Sun, 13 Dec 2015 16:48:25 -0500
From: ken <gebser@xxxxxxxxxxxx>
To: CentOS mailing list <centos@xxxxxxxxxx>, centos-virt@xxxxxxxxxx
Subject: boot thumbdrive with CentOS 7 ISO???
Message-ID: <566DE7A9.9060307@xxxxxxxxxxxx>
Content-Type: text/plain; charset=utf-8; format=flowed

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?


------------------------------

Message: 2
Date: Mon, 14 Dec 2015 04:30:08 -0500
From: ken <gebser@xxxxxxxxxxxx>
To: CentOS mailing list <centos@xxxxxxxxxx>, centos-virt@xxxxxxxxxx
Subject: Re: [CentOS] boot thumbdrive with CentOS 7
        ISO???
Message-ID: <566E8C20.6080701@xxxxxxxxxxxx>
Content-Type: text/plain; charset=utf-8; format=flowed

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?



------------------------------

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos-virt


End of CentOS-virt Digest, Vol 100, Issue 12
********************************************

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux