Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have my single 80GB hard drive partitioned as so:
XP Pro
Server2003
Longhorn4074
Linux Ext3
Linux Swap
I install all 3 of my windows OS's first, then I used the Debian minimum cd option to do a most basic of install Sarge, I used the daily build iso dated 6-5-04. The Debian setup walked me through everyting great however when it comes where to install GRUB I just can't figure it out!!! The second try I used the more stable "Testing" iso instead of the most recdent daily build but still had all of the same problems.
First try I installed GRUB on my MBR, it detected my other windows installs so I figured it was cool, not! When I choose windows from the GRUB boot menu it would just hang after selection and never load the windows boot menu.
Where should I install GRUB? I just reformatted my entire hard drive because everything got screwed up, for the 3rd time, and I've started from scratch and I just finished installing my windows OS's.
Please tell me what to do! I know putting it on the MBR screws everything up and installing it on like /dev/hda1 or does too, /dev/hda0 was the MBR. So now what? This is a wierd one though, when I first installed linux I used woody and a boot floppy, then I did an apt-get install of GRUB and edited the menu.lst file manually and for some reason it worked great! I don't remember where it installed GRUB on the HD but it was in the /boot/grub directory of my linux drive if that helps. Why would the apt-get install of GRUB work but not installing GRUB from the initial Debian install???
Here's a thought, can I not install GRUB and then edit the boot.ini file in my windows OS's and create an option that points to /dev/hda5 to manually load the kernel? Would that work? I just don't know what else to do...
If you post your partition table, and your menu.lst we can help you out. If you want to install grub on the mbr, to boot all four OSs you would install it on /dev/hda -- with no partition listed.
Sorry but I don't have GRUB installed yet so I have no menu.lst to post, I didn't install because I don't want to screw it up again and have to install all my of my OS's for the 4th time, lol!
How do I view my patition table and type in the way that you want?I know how to do it in Linux but not windows and like I said I won't install linux until I clear this up.
Are you saying that by manually telling GRUB to install on /dev/hda it will install some place differently than when I simply tell the Debian installing to install it on the MBR and let it do it on it's own?
Originally posted by bulliver Seems to me instead of reinstalling everything when something doesn't work you should try and troubleshoot why it isn't working.
Although in practice doing things like using windows repair console to re-do the mbr and other things will screw it up to the point where you have to re-do everything.
I edit my menu.lst for quite a while and was 100% it was right but it still would hang anf not load the windows boot menu.
What I meant was where does Debian's installer think the MBR is by default? Does it also think it's /dev/hda or does it think something else. I ask because I've tried that already and that also did not work.
I'll tell you what, if someone will 100% assure me that installing GRUB on my MBR using that choice in the Debian installer is safe, then I'll do it and when it doesn't work I'll post the menu.lst and we can go from there. I just want to be sure that installing it on the MBR is infact the correct way...
You may want to make boot floppies for your windows just in case. But then we can work on your menu.lst
You need to keep in mind that there are two kinds of grub 'installation'. One just installs the program itself in your linux /sbin directory (ie apt-get grub). The other is the bootloader itself which could be installed manually ie:
Code:
/sbin/grub-install /dev/hda
The debian install should do this automatically for you
Alright I'll try that. I should have Debian loaded in the next hour or so, I'm just wrapping up the install of my 3rd windows os then I cvan post my results.
expert26 install
I let the Debian installer delete my ext3 and swap partition and let it configure it's own swap and linux partition using that free space.
Then I did the base install and when it asked me if I want to install GRUB on the MBR I said yes and it said: "Running GRUB install hd0..."
Then I rebooted, it showed me the GRUB screen just fine with an option for windows. Just for the heck of it I choose windows to see what would happen and it said:
Booting 'Windows NT/2000/XP'
root (hd0,0)
Filesystem type unknown, partition type 0x7
savedefault
makeactive
chainloader +1
Then it just stalls so I hit good 'ol ctrl+alt+del and rebooted this time choosing the Debian option. I then I edited my menu.lst file as posted and rebooted, I choose the windows option and this time it said:
It would seem that the debian installer is doing something screwy such as installing grub to /dev/hda1 or something.
I guess it would be best at this point to install grub manually. Did you make a boot disk for any of your windows installs? If you can boot windows run FDISK /MBR to restore your MBR. You should not need to reinstall any of your windows...they are still there, you just can't access them.
How did you boot your various windows before you installed debian? Perhaps you should let windows boot itself and make a grub floppy to boot debian.
Otherwise, if you can get debian booted up somehow (does the install disk include a rescue function?) you can install the bootloader manually, as it seems the debian installer is fscked up.
I didn't make a windows floppy thinking I could use the CD however it seems to have every function BUT fdisk, lol!
My Debian base install cd did not have a rescue function and my Woody Debian disks rescue funtion would not work.
I can boot into the Debian install and get a shell promt. Is there something I can do from there?
EDIT: Wait, now when I load off the Debian install CD before I begin and install it gives me boot promt. If I can figure out the location of the currently installed kernel can I enter that and maybe boot?
Wait, now when I load off the Debian install CD before I begin and install it gives me boot promt. If I can figure out the location of the currently installed kernel can I enter that and maybe boot?
Don't think so. That would just for the available kernels to start the install with afaik
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.