| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 70247 | 2006-06-26 22:08:00 | Configure grub | kjaada (253) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 466479 | 2006-06-26 22:08:00 | XP and a linux partition on my C drive and on 2nd HDD have another linux OS.The drive is faulty and I want to replce it and do not want the OS on it.If I delete the OS then on rebooting Grub does not work and show my other 2 OS's.Is it possible to configure grub while the os is still on the drive so I can just take it out and replace it.I presume MBR is on the windows partition. |
kjaada (253) | ||
| 466480 | 2006-06-27 00:35:00 | I'm a Linux newbie and can't answer your specific question. However, I solve the problem using Acronis Disk Director which has, as an extra, an OS Selector. It detects all your OS's and gives you a GUI startup screen to select whatever you want and you can change the default boot to any OS - which I haven't managed to do with Grub. You can also remove any OS from the boot menu. If it gets stuffed up you can use a boot CD to detect and repair everything again. If you're prepared to spend a $ or two Disk Director is an excellent partitioning program and Acronis give a discount if you wish to bundle it with True Image - which I wouldn't be without. This enables you, as well as creating and restoring images, to restore mbr configurations. See it here: www.acronis.com |
Vallis (8886) | ||
| 466481 | 2006-06-27 00:42:00 | I presume MBR is on the windows partition.While this is likely to be the case, GRUB itself doesn't entirely live there. It will usually also have stuff stored in '/boot/grub' - if you wipe out this partition (/boot is usually a separate partition to / if you used the default partitioning scheme) then GRUB may cease to work. | Erayd (23) | ||
| 466482 | 2006-06-27 00:46:00 | ...you can change the default boot to any OS - which I haven't managed to do with Grub. You can also remove any OS from the boot menu.You can do all of the above (and add another OS to the menu too) by editing '/boot/grub/menu.lst'. You can (I think) also add a background splash image. | Erayd (23) | ||
| 466483 | 2006-06-27 01:13:00 | Oops reread post.. got it wrong | Myth (110) | ||
| 466484 | 2006-06-27 10:15:00 | The drive is faulty I presume the faulty drive is the second one. GRUB has at least two parts - the part in the master boot record (which you still have) and the config files which look like they belonged to the version of Linux on the drive now gone - hence it's reluntance to boot anything. Which distribution of Linux are you using? With Fedora you can boot to a rescue mode and mount the partition to edit /boot/grub/menu.lst. This file may need editing. Once this is done you must rewrite the MBR with the command 'grub-install /dev/hda'. YOu cannot directly use another boot loader until GRUB is running. If you do use another boot loader then you wouldn't install GRUB to the MBR but to a partition so that the new boot laoder can chain load to it. |
johnd (85) | ||
| 466485 | 2006-06-27 10:22:00 | A couple of misunderstandings: XP and a linux partition on my C drive XP and the Linux partition are not on the c: drive - XP is. Linux doesn't use drive letters. Both OSs are on the first hard drive, not the c: drive. C: drive is the first partition on the first hard drive. I presume MBR is on the windows partition. The MBR is not on a partition - it is on the first 512 bytes of the hard drive outside any of the normal partitions we see. |
johnd (85) | ||
| 466486 | 2006-06-27 18:32:00 | Thanks, I am now working.XP and Xandros on 1st Mepis on 2nd very noisy drive. I am not now partiularly concerned but I would like to get rid of mepis as I now have Xandros Premier.I would like to replace the 2nd drive but I guess if I just unplug it I could be in bother.I also do not want to buy an app that I will only use once. |
kjaada (253) | ||
| 466487 | 2006-06-27 22:30:00 | Without knowing the inner workings of Xandros, does it not have a grub.conf or lst.menu in the /boot directory? You should (in theory) have it and therefore be able to edit that file. Once thats done, go to terminal and run (well this is the gentoo command, should be the same or similar for Xandros) 'grub-install /dev/hda' which will install Xandros' version of grub to the MBR This is in theory, you know Xandros way better than I. I'm not even sure if Xandros uses grub. |
Myth (110) | ||
| 466488 | 2006-06-27 23:49:00 | Xandros has LiLo and when I installed Mepis Grub was installed to hda MBR but I now no longer have a problem as I have loaded a shareware boot manager which is great and Mepis is a thing of the past. |
kjaada (253) | ||
| 1 2 | |||||