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.
Here's my problem (and I know that there have been lots of threads about a similar problem, but I've already tried these solutions, but they don't work ) :
I've got a 160Gig HDD with Windows on it and an old 40Gig HDD with SuSE 9.0 Pro on it and the Grub loads via floppy. Now I want to get rid of the 40Gig HDD, because it's to noisy. The problem is that if I unplug that HDD the Grub loader says "Hard Disk Error" ... I do understand that, because the Grub loads and doesn't find the HDD with Linux on it. BUT if I take the floppy out of the drive and leave the HDD unplugged it should boot normally? No ... it says "No system disk or system disk error" !
I really don't understand what I did there ... and especially, I don't know how to fix it ... as I said I've already tried the "fixmbr" in the windows recovery console and the "fdisk /mbr" on the windows boot floppy ... and I tried the "fixboot" in the recovery console ... and it says to me that the HDD with Linux on it is the system partition ! I think that could be the problem, but I don't know how to fix that either ...
I've done enough talking for now ... hope there's someone who can help me out of that mess ... would be great !
It's because GRUB is looking on your 2nd disk for the /boot partition
GRUB lives on HD0, but it's looking for HD1 for it's boot config
I'm not sure if GRUB can boot with just a Windows partition.
Can you boot into Windows with a floppy or through GRUB? Try going into the Storage Manager in Control Panel and setting your "C:" partition as primary
Then you could try fdisk /mbr or fixmbr again
-or-
grub> root (hd0)
grub> setup (hd0)
Might be an idea to backup you windows drive first!
It's because GRUB is looking on your 2nd disk for the /boot partition
GRUB lives on HD0, but it's looking for HD1 for it's boot config
I'm not sure if GRUB can boot with just a Windows partition.
That's what I already said ... I understand why it doesn't work, if I unplugg the second HDD and the floppy's still inserted ... but if the floppy's not in the drive, the grub should not boot I think ...
Quote:
Can you boot into Windows with a floppy or through GRUB?
Well if both HDD's are connected without problems, but if the second is unplugged or if the floppy isn't inserted not ...
I'll try your hint with the storage manager and I'll post the result of it
Well I'm using Windows XP Home SP2 (normally) and SuSE Linux 9.0 Pro (seldomly)! As I said both Systems work well ... but as I don't use Linux very often and the HDD makes a lot of noise, I would like to unplug it ... but then the system won't boot anymore as I said ...
Quote:
Did you install grub on the primary hard disk MBR ?
First I used it booting via floppy, because I didn't want to change anything in the MBR, but today I put it in the hda's MBR, but without changes ... without floppy won't work ... and without hdb neither !
I just want to clear out every trace of the Grub, so that I CAN boot with only the silent 160Gig HDD ... and the best were if I could plug the 40Gig HDD and boot the Grub via floppy, if I need Linux, but don't know how ...
When you reboot the computer, do you end up with a grub prompt as below
grub>
If so, enter the commands from my earlier post, and it should boot Windows for you.
If you want to re-write the MBR, get an old Windows 98 start up disk, boot the computer using the floppy drive, and enter at the "a>" prompt "fdisk /mbr"
This will cause fdisk to re-write the MBR in the way that Windows likes, and XP should then become bootable
Well in the first post I've written that I've already tried the fixmbr (and fixboot) and the fdisk /mbr, too without succes ... and the error messages I get are in that post, too
- put the grub on the mbr of the 40Gig HDD,
- took it out, and
- used the serillelo 2 (or how is that called?) and plugged my 160Gig HDD on the S-ATA port ... the S-ATA boots the HDD before the message appears ^^
I know that if I use the IDE controller again the problem will reappear, but this is quite a good solution for the moment ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.