LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-28-2008, 04:48 AM   #1
Kamoflauge
LQ Newbie
 
Registered: Jan 2008
Location: UK
Distribution: SL4.4, Ubuntu 7.10
Posts: 28

Rep: Reputation: 15
GPT, MBR, GRUB and rescue software


I need help in understanding GPT, MBR and GRUB.

I'm having problems installing a Linux on a SATA disk.
The disk checks out as clean and formatted under HUTIL
2.03, and I think the problem must be with the MBR or
the GPT.

When I switch on, I get the BIOS splash screen, so I
guess that must be OK.

Then I get a text screen with

NVIDIA Boot Agent 244.0538
Copyright ....

CLIENT MAC ADDR ...........

GUID ........

DHCP ... (progress indicated)

and after a couple of minutes,

PXE-E53: No boot filename recieved
PXE-M0F: Exiting NVIDIA boot agent

DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER

I typed the error codes into Google and it seems that
these are Windows messages. I did have XP on this disk
previously but wiped it.

Here's what I don't understand:

==> If my MBR/GPT/whatever has been corrupted by
XP (or anything else), how do I install a new clean one?

===> The wikipedia page about GPT,

http://en.wikipedia.org/wiki/GUID_Partition_Table

describes BIOS and MBR as `relics' but my impression
is that most rescue software doesn't consider GPT.
For example sysrescuecd has tools for correcting
partition tables and installing GRUB but I don't
see anything about GPT. Can I just have MBR and
GRUB as in the past, or do I have to use GPT now?

Wikipedia says that GPT includes MBR for compatibility with old systems, but how do I tell whether my box has GPT present or not?

BTW I don't need to rescue data. What I need to do
is get an OS working on the disk.

Thanks in advance.

K
 
Old 01-28-2008, 11:31 PM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
I have seen your partition thread but will reply here.

according to this link...it was your choice of partition tool that stopped your success.
http://portal.itauth.com/2008/01/17/...nux-partitions

now that gives you correct partitions...but still does not address knowing which distro will recognise GPT and install....and that relates to kernels.

2) looking into my Mdv /boot/config under # Partition Types I can find no GPT support so that rules out Mandriva 2008.0 32 bit....not sure about 64 bit which may be the clue.

3) so according to http://www.linuxquestions.org/questi...?highlight=GPT

you need a motherboard-bios that supports 64 bit GPT

then you must install a 64 bit distro....which has a initrd or fully compiled GPT support in the kernel.

I suggest you look at frequently updated distros or bleeding edge like suse or fedora....64 bit
 
Old 01-28-2008, 11:32 PM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
if you have the bandwith can I suggest you d/load a live cd that is 64 bit....altho I have a 64 bit cpu I still use 32 bit...bit of a dinosaur. good luck

http://www.livecdlist.com/?pick=Linu...t=Purpose&sm=1

Last edited by aus9; 01-28-2008 at 11:36 PM.
 
Old 01-29-2008, 10:43 AM   #4
Kamoflauge
LQ Newbie
 
Registered: Jan 2008
Location: UK
Distribution: SL4.4, Ubuntu 7.10
Posts: 28

Original Poster
Rep: Reputation: 15
That's very interesting. Thanks a lot. It'll take me a few days to get 64 bit distros (I haven't got a DVD burner), but I'll let you know how I get on.

Good links!

K
 
Old 01-30-2008, 06:07 AM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
well if you have no burner....search each distro that has 64 bit kernel for support GPT.
if the home pages do not help...consider a post in the forums but do not double post as the mods will not like it....so explain that your question is for users of 64 bit kernel distro "X" and you need GPT support.

of course with < 2TB hard drives you don't need GPT...you can still use mbr.

and do not buy any dvd from a download site until you are happy with what you are getting. so I am not going to make any recommendations sorry.

I still think live cds 64 bit may be an option if you have the bandwith and a cd burner
 
Old 01-30-2008, 06:22 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I could be wrong but the error message of the OP appears to suggest the Bios was asked to boot from a "Network".

If this is true then telling the Bios to boot from a hard disk should cure it.

Don't used Guided Partition Table myself as it is another management layer introduced to the hard disk. I believe one can find it out from listing the partitions of the hard disk. GPT uses up one primary partition as method of control. Not sure if XP would create it but Vista can be instructed to set it up. I view the new GPT as a relic because it will gone with time whereas MBR will be here much longer. I think it is just an option in Vista and the other PC OS that uses it is Mac.

Installing Linux in Sata I and Sata II is never a problem.

Last edited by saikee; 01-30-2008 at 06:31 PM.
 
Old 01-31-2008, 03:59 PM   #7
Kamoflauge
LQ Newbie
 
Registered: Jan 2008
Location: UK
Distribution: SL4.4, Ubuntu 7.10
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by saikee View Post
I could be wrong but the error message of the OP appears to suggest the Bios was asked to boot from a "Network".

If this is true then telling the Bios to boot from a hard disk should cure it.
Yes, the third boot device was `NVIDIA boot agent', after the CD and the HDD. I've disabled that and the nuisance has now ceased. Many thanks Saikee.

I'm still investigating 64 bit distros. More soon.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid 5, >2TB, GPT, Grub, booting, mounting root dtdionne Linux - Software 6 12-18-2007 05:37 AM
gpt and mbr out of sync after every ubuntu boot on my macbook cbiscuit Linux - General 1 11-02-2007 02:04 PM
gpt and software mirroring on ia64 iranoutofusernames Linux - Enterprise 0 04-05-2006 10:06 PM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
MBR Messed Up; How to use rescue? KarlT Linux - Software 2 12-23-2003 03:14 PM


All times are GMT -5. The time now is 08:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration