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.
I have a Windows ntfs partition on my first HDD. And my second HDD has one slave partition to Windows, then a SUSE and swap partition on it. At first when I installed, it gave my error 17. But then I did the SUSE rescue system that "fixed" it. It tells me that there is an error in the GRUB conf files. But when I look at what it shows me, they are all right.
Now I just get a GRUB prompt, and nothing I type in seems to do anything. I've gone into SUSE before, but that was the first time after the install. I could probably get into it again trhough the installation CD, if it is needed. But I need to get into windows and set up GRUB.
There is probably more information need, if so, just ask.
I'm gettong somewhere. I change my HDD parameters from Auto to large, because I think I heard someone talk about it. And it loads GRUB now, and I can boot into SUSE!
But when I choose Windows it says
"chainloader (hd0,0) +1"
And stops. Could it be booting the wrong partition?
This will tell you what grub thinks is (hd0) and (hd1)
Also, you may need to 'map' the two devices so that Windows 'thinks' it's on the first disk -- it's temperamental like that.
Compare your enty in menu.lst with mine:
Code:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Windows NT/2000/XP
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
savedefault
chainloader +1
My device.map looks like that, but with floppy, and hd1 is /dev/hdb. I don't know why you put c. So I wrote in exacly what you said into menu.list, and it gives me error 23, error while parsing number.
Devices can have 4 primary partitons(let's not get into extended or logical...)
IDE drives are
HDA
HDB
HDC etc
SATA and SCSI are
SDA
SDB etc
This deliniation is set by the bios's boot order. Now, assuming you have multiple partions on each drive, lets say all 4 you have something like hda1 hda2, hda3, hda4. Now, that goes for each device... hdb1, hdb2... etc.
So assuming you normal boot drive is hda on the 1st partion(hda1), grub sees that as (hd0,0)they start at 0, not 1.
So hda is hd0 and hda1 is the same as (hd0,0).
Are you in the grub CLI trying this? or recovery console you can use "grub" at? Then you could just tab and autocomplete paths to know for sure they are accurate.
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 9066 72822613+ 7 HPFS/NTFS
Second HDD
Code:
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 10448 83915968+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hdb2 10449 10579 1052257+ 82 Linux swap / Solaris
/dev/hdb3 10580 14593 32242455 83 Linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.