[SOLVED] Ruba-dub-Grub, my PC is a dud. PC launches Grub but should not, I think.
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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Ruba-dub-Grub, my PC is a dud. PC launches Grub but should not, I think.
I used the Mepis 8.0 to install linux to my external USB hard drive and, to the best of my meager knowledge, I told the installer to put 'everything' on the external disk, to boot from root and to not us the MBR on the internal disk. When I rebooted, the system hung.
I reinstalled Mepis but this time I gave up on the idea of booting from the external disk so I told the installer to use the MBR thinking that this would give me a 'dual-boot' system. It didn't. Instead it gave me a 'no-boot' system.
Here are the results of this stellar installation:
1) Can only start XP by booting with a Gparted iso CD.
2) Can only start Linux with the Mepis iso CD.
3) The SUSE 11.2 iso CD will not boot at all.
On start up, with the external plugged in and no Gparted used, I get a blank screen with a blinking cursor living in the top left-hand corner. This seems to last for ever, although I have never tried it.
On start up without the external plugged in and no Goarted used, I get:
Grub Loading stage 1.5
Grub Loading, please wait...
Using Gparted with or without the external disk plugged in gives various error msgs depending on which option I choose other than the 'Windows/Linux (sda1 Internal Drive)' option.
Is there a way to:
1) install Mepis on the external disk.
2) create a dual-boot that works.
3) stop this Grub issue.
GRUB uses the configuration files located in your installation of Linux. Without these commands, GRUB has no clue what to do. Especially because the GRUB configuration files located in the internal hard drive installation contain incorrect information.
1.) Use the MEPIS livecd (or any Linux livecd) and reinstall GRUB to your internal hard drive. Do this without your external hard drive connected. (Google around for how-to install GRUB, or wait around for an LQ member to help).
2.) Connect your external hard drive; and have a look as to what drive letter (hda2, sda1), and manually create an entry in your menu.lst for it.
If you want Mepis on the external, install Mepis to sdb (which is what your external should be called) and to the master boot record of sdb, not to the root partition, sdb1. Set your boot priority as CDROM first, external second, harddrive third. Then if you have no bootable CD in the drive and your external attached, Mepis will boot. If you have no bootable CD in the drive and your external not attached, your windows on the internal will boot.
If on your second effort your installed Grub stage1 to the internal drive master boot record, you will need to repair your windows mbr. With xp installation disk, go to Recovery mode and run commands: fixmbr and then fixboot. If you don't have a full installation CD, it won't work as the necessary files are not on a Recovery CD.
Load your Mepis CD, do not click the Install icon, and open a terminal, login as root (type su or su -) probably won't need a password but I don't use Mepis so I'm not sure. If you can do this, post the output of the fdisk -l command (lower case Letter L) to display your partition information.
I forgot to mention that the Error 21 with the external not connected is as it should be. You have stage1 of Grub on the internal mbr pointing to the rest of the Grub boot files which are on the non-attached external.
Disk /dev/sda1: 160.0GB
Device Boot <snip> ID System
/dev/sda1 * 7 HPFS/NTFS
/dev/sda2 5 Extended
/dev/sda3 12 Compaq Diagnostics
Disk /dev/sdb: 319.3GB
Device Boot <snip> ID System
/dev/sdb1 * 83 Linux
/dev/sdb2 82 Linux Swap/Solaris
/dev/sdb3 12 Linux
Also, I cannot get into XP anymore. Using the XP CD works until I enter 'R' for repair - sometimes I get a msg that there is no hard disk; other times it skips the disk select part and places me at a prompt where I do FIXMBR and FIXBOOT C: and then EXIT. Both commands act as if they are doing what they should but when the PC tries to boot it doesn't.
Gparted doesn't boot into XP either.
I hate to ask this but am I about to have a 100% linux Lenovo X61 LapTop?
Last edited by Robert.Thompson; 12-12-2009 at 09:12 PM.
I did a Grub install, from info on the net, but PC still didn't boot. Basically, XP could no longer find the internal disk drive.
So,I gave up on my career as a windows/linux repairman and used my Lenovo Rescue disk to restore from my last backup - it is doing this now. ( I feel like I am a 'time traveler' off to explore the past! )
Well, the restore did absolutely nothing to help with the boot problem - still get the Grub error.
When I do an XP repair, without the external connected, I get a msg that says no disk found and it reboots. When I do the same thing with the external connected, it skips the 'select drive' option (usually # 1) and goes directly to the c: prompt.
Before I do a restore 'to factory defaults', does anyone know if that will make the PC work? Is there any other options available?
For what it is worth, I am running the Hard Disk Diagnostic program from the Bios menu - so far it is happily perking along but will take hours to finish.
I can boot into linux using the Mepis CD - is there anything I can do from there to get my internal hard disk working again?
I got my SUSE 11.2 to boot. Going through the install I get to the partitioning part and see this for sda:
/dev/sda1 130.55GB Linux native NTFS Preload
/dev/sda2 1.0KB Linux native
/dev?sda3 4.52GB Linux native FAT Service001
Does the /dev/sda2 having only 1 kilobyte have any significance to my problem?
Last edited by Robert.Thompson; 12-13-2009 at 11:49 AM.