LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 10-15-2010, 12:51 PM   #16
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940

BUT

When I unplug that external harddisk and try to boot my internal one, it still says
Quote:
Error: no such device <hex number> Grub Rescue
anyways, thanks for helping here guys
 
Old 10-15-2010, 03:29 PM   #17
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
What was so obvious in that thread ? Yes, I am a Grub illiterate
Below is the output I was referring to. You go to the /boot/grub/ directory and run the ls command and the only output you get is "linuxmint.png" which is an image file. None of the other boot files were present.

Quote:
anisha@aquarius /media/disk-1/boot/boot $ cd grub/
anisha@aquarius /media/disk-1/boot/boot/grub $ ls
linuxmint.png
Quote:
when I unplug that external harddisk and try to boot my internal one, it still says
You ran the update-grub command from your external disk. This would put the stage1 file in the master boot record of your internal disk while the rest of the Grub files are on the external disk Linux Mint partition. Plug in your external, boot from it but this time make sure you boot to the Mint on the internal drive and run the update-grub command from there. That should work.
 
Old 10-15-2010, 09:21 PM   #18
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by yancek View Post
You ran the update-grub command from your external disk. This would put the stage1 file in the master boot record of your internal disk while the rest of the Grub files are on the external disk Linux Mint partition. Plug in your external, boot from it but this time make sure you boot to the Mint on the internal drive and run the update-grub command from there. That should work.
You wanted me to
  • Plug in the external hard-disk.
  • Boot Mint from internal harddisk.
  • su, update-grub
  • reboot
I did all that but when I rebooted I immediately unplugged the external hard-disk and that error re-appeared
 
Old 10-15-2010, 10:28 PM   #19
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Try reinstall Grub while booted to the internal drive:

grub-install /dev/sda

I'm reluctant to give specific advice since I prefer not to use beta software such as Grub2, the tutorial link below gives and explanation, secation 4.G, on reinstalling Grub. I think reinstalling rather than updating is necessary in this case.

http://www.dedoimedo.com/computers/grub-2.html

Hopefully this will work?
 
1 members found this post helpful.
Old 10-16-2010, 12:31 AM   #20
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
yancek,

Thanks again.

I shall do that after nearly 2-3 days since I'll be out of station now. For now since you have helped so much would you kindly tell me what to read in order to fix the following type of issues:
  • BOOTMGR is missing, Press Ctrl+Alt+Del to restart
This problem has been solved now since I re-created partitions through PartedMagic, but I would like to know how to understand that BOOTMGR is related to partition table. What should I read for that ?

I mean what are the basic things that I need to know in order to fix such kind of problems ?

Secondly,
how should I make sure that when I load some other distro on my external disk, it doesn't eat the grub ?

Last edited by Aquarius_Girl; 10-16-2010 at 12:32 AM.
 
Old 10-16-2010, 02:58 PM   #21
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Here are some link on the bootmgr is missing error:

http://www.niharsworld.com/2009/11/0...oot-windows-7/

http://social.technet.microsoft.com/...2-f6064476abd1

I think this is usually a problem with booting windows. If you google the specific error, you will get a lot of hits.

Quote:
how should I make sure that when I load some other distro on my external disk, it doesn't eat the grub ?
If you want to continue booting from your Mint bootloader on the internal drive, when you install another system install the bootloader of Grub to the root partition of the new system. I imagine you will need to run the update-grub command again. On Grub Legacy, it would be a matter of copying the menu.lst entry from your new system to the menu.lst file of the system you are using to boot. The default install of the bootloader is usually to the master boot record and on most system installs you will need to select an Expert or Advanced tab at some point to get the option to install to the root partition. I haven't used Grub 2 so I'm not sure how the updating works.
 
Old 10-21-2010, 03:40 AM   #22
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by yancek View Post
Try reinstall Grub while booted to the internal drive:

grub-install /dev/sda
I am thankful to you for following up and helping me to solve this issue.

I ran the following on my internal harddisk (from root).
Code:
grub-install /dev/sda
It gave a success message, and when I rebooted the machine without the external harddisk, every thing worked normally
 
Old 10-21-2010, 05:07 PM   #23
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Glad it worked. Not having used Grub2, I wasn't positive it would but it seemed a logical method.
 
Old 10-21-2010, 11:50 PM   #24
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by yancek View Post
Glad it worked. Not having used Grub2, I wasn't positive it would but it seemed a logical method.
Does having new versions of Grub mean that the standard commands won't work there ?

Quote:
Originally Posted by yancek View Post
I think this is usually a problem with booting windows. If you google the specific error, you will get a lot of hits.
I do use Google before creating any thread. I had googled it before and got the same links you showed me. But those didn't work. Then Brian and other people in the following thread told me to use MagicParted since the partition table must have been removed !
http://www.linuxquestions.org/questi...estart-819420/

Now my question to you was how did they know that this error was related to the "missing partition table".

Many thanks to you for helping me out here.

and now I see that you were also a part of that thread

Last edited by Aquarius_Girl; 10-21-2010 at 11:53 PM.
 
Old 10-22-2010, 10:53 AM   #25
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
Does having new versions of Grub mean that the standard commands won't work there ?
Actually, the grub-install /dev/sda works on Grub Legacy. I usually used a different method. I expect there are new commands but probably the old ones work? Haven't really read much on Grub2.

Quote:
Now my question to you was how did they know that this error was related to the "missing partition table".
I doubt if anyone 'knew' it was the partition table. A windows install will generally overwrite whatever is on the master boot record and install its own bootloader information, particularly if non-windows bootloader info is in the mbr. Windows usually shows Linux as unallocated space, at least in my experience which, admitted is pretty limited in windows. My windows 7 system shows the Linux partitions that way.
 
Old 10-22-2010, 10:04 PM   #26
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
yancek,

Thank you for following up.

I searched Google for a howto, with the following keyword as I always find something useful on tldp but ...
Quote:
master boot record tldp
This search showed all the result WRT LILO ???? I wonder why ! Why not Grub ?
Anyway you have been helpful, and thank you for that.
 
Old 10-23-2010, 03:11 PM   #27
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Most of the hits I get googling master boot record refer to its use in windows so just add Linux to the google. Is this the kind of information you were looking for?

http://en.wikipedia.org/wiki/Master_boot_record
http://librenix.com/?inode=10072

Grub Legacy Documentation Page:

http://www.gnu.org/software/grub/manual/legacy/
 
1 members found this post helpful.
Old 10-23-2010, 09:01 PM   #28
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by yancek View Post
Is this the kind of information you were looking for?
Thank you again for helping me.

I had already discovered the GNU Grub link and the Wikipedia MBR link.

But the following was a new and an informative link for me.
http://www.ibm.com/developerworks/li...nxw16LinuxBoot

In fact the link this document is pointing towards (at the end), appear to be really informative.

Thank you again for following up.

All I can request you now is, if ever you see such kind of threads any where, please stop and help.

When I posted the second problem discussed here in the correct forum, it was doomed, now in the unrelated forum, I have got this sorted out.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multi booting GRUB cd cannot find menu.lst bowserevilking Linux - General 1 10-17-2009 08:49 PM
to add Mandriva grub boot lines to the main menu.lst file, using 2 hard drives james2b Linux - Newbie 5 10-09-2008 06:20 PM
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 01:29 PM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
Grub - how do I change which partition is used to find menu.lst nickhen Linux - General 1 01-24-2005 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration