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.
Hi. I'm brand new to all this -- I just completed my first successful linux installation on Friday.
I'm certain that my problem is a common one, but I can't seem to find the answer when I search these forums or Google Linux. If you can point me to the appropriate post or site, I'd greatly appreciate it.
The problem:
- I can no longer boot to Windows XP after having successfully installed Ubuntu.
- GRUB gives me two windows options, but when I select either one the screen simply goes black. No output. No disk activity. Nothing. The computer just hangs, doing nothing.
My set-up:
- I have a Sony VAIO desktop w/ two internal 250 GB drives, with Windows XP (Meida Center Edition)
- Before I installed Ubuntu, I physically swapped the two drives so that I could keep the "C:" drive intact.
- My primary drive (i.e. what used to be my "D:" drive before the swap) contains the linux partition(s) on the first 110 GB, and the remaining 128 GB is still an NTFS formatted partition.
- My secondary/slave drive (i.e. what used to be my "C:" drive before the swap) contains Windows.
- Click here to see what my partitions looked like prior to me swapping the hard drives and installing Ubuntu.
What I've done so far:
- searched online for solutions to this problem
- read through the GRUB manual
- ensured that my menu.lst file was using "map" to virtually swap the drives.
- checked my menu.lst file against several other examples online and played around with several of the variables.
- You can see a copy of my current menu.lst file by clicking here.
I'm not sure what to try next. From what I've been reading, everything should be working just fine. Unfortunately, it isn't.
If you could help (or point me in the direction of help) I'd greatly appreciate it!
What about your device.map file? What does it say? Have you run "fdisk -l" (ell not one) to verify that you can actually still access the partitions on the old "C" drive? Can we see that? One common mistake is forgetting to move the drive jumpers or doing it incorrectly.
I would be careful with the makeactive line; it can lead to windows booting all the time, no matter which OS was selected from GRUB. I got this information from the Solaris manual; Linux may be different but since Solaris uses GRUB as well, I'm not so sure about that.
@ryanryan - congrats; seems you've done all the reasonable things.
Gotta also say I'm (reasonably) impressed with the Ubuntu installer getting the map directives right. Things are looking up ...
I'd also second the use of rootnoverify (both 'doze entries), although I wouldn't go changing anything else in contrast to Quakeboy02.
Try (just) that and see how you go.
Well, over the past several days I've entertained a host of other variations in my menu.lst file. I've changed 0s to 1s and 1s to 0s and back again. I've dropped the "map" lines, put them back in. Tried removing "makeactive", "savedefault". Changed root to rootnoverify, then back again. Nothing, thus far has worked. I'm beginning to wonder if the problem is something other than the menu.lst file. I checked the device.map file, but correct entries for both drives are there.
Regardless, I (phsyically) swapped the hard disks back again and, yes, Windows boots just as it always did before.
Here's what I'm thinking about doing next. I'm going to try installing linux on the same disk as Windows. That way, both Windows and Linux will be on hda. As for hdb, I'll just reformat it and cut it into two partitions -- one NTFS and one EXT3.
But this leads to anther question: Do I need to make any extra partitions on my primary drive so that the /boot partition will be on the first n MBs of the disk?
No, you shouldn't need to.
Yes, you should (IMNSHO).
I *always* create a small boot partition - at the front of the disk. Habit from days when it was necessary.
These days it's useful when deleting distro(s) to try something else - avoids embarassing "oop'es". Also handy if you want to add a system on a removable drive and still boot if it's not plugged in.
Forward planning is never a waste.
I have windows on one hard drive and Suse on a second. The second hard drive was a used hard drive so I'm not sure now which file system was on it. I left windows as "hd0" and during installation Suse wanted to install on hd0 but gave the option to choose hard drives, I chose the second and it reformated it and did the installation.
For what it's worth, I 've booted Gentoo from the last 30GB of a 250GB disc. Also I've given up on boot partitions because of that ridiculous 15 partition limit on Sata discs. But if you can spare the partition, why not .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.