Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
my computer has 2 hard disks 80GB & 1TB
I installed xp on first primary partition in 1TB hard drive.
Then debian on second (mount point : /root) & third partition (mount point : swap) which are logical type.
I asked debian to install grub & it seems it installed on MBR of 80GB hard disk .
This 80GB hard disk does not show up in BIOS so
[coolor=red]How can I install grub to MBR of 1TB partition ?[/color]
BTW , my version is debian-6.0.2.1-i386.
I'm not sure about Debian, but I know the install process in Ubuntu/Mint has a drop-down menu asking you where to install the bootloader. If you have a GUI installation, make sure you look at each screen carefully before continuing.
Do you mean that Windows is installed on the first partition and the second partition of your 1TB is Debian? If that's the case, I think a simple and obvious solution is to disconnect the 80gb during the installation so that there is no wrong disk to write to.
Fdisk -l will tell you which drive is listed as sda if sda is the 80 Gig drive then grub will try to install there, but you can install it to sdb but you have to change the line at grub install.
Another option would be to change the boot order of hard drives under boot options.
Download very small super grub2 disk and burn it to CD, boot the CD and select the pre-selected option to detect any OS, shortly after it will show your two Debian booting options, normal and recovery, and the Windows XP option. Select the Debian normal boot option and hit enter and it will boot you into Debian. Open a terminal and run the fdisk command as root or sudo to find which disk your installations are on. If indeed they are on /dev/sda, run command as root or sudo: update-grub then command: grub-install /dev/sda to install to the MBR. Reboot and there should be a menu to select either Debian normal, recovery or Windows XP.
initially I had super grub disk 1 which could be installed to usb without formatting it .
In case of installing super grub disk2 (on my uSB stick) I had to do
'dd if=path-to-iso-image of=/dev/sdd' (on my puppy)
Thus my USB stick is empty except iso files on it.
I selected 'detect any OS'
It gave me list of debian-normal,debian-recovery & xp boot
I booted normally into debian then
ran
'df' which told root as /dev/sdb6
so I did as root
'update-grub;grub-install /dev/sdb'
VOILA !
My system's bootloader is concise & clear.
Last edited by sumeet inani; 11-26-2011 at 07:51 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.