DebianThis forum is for the discussion of Debian Linux.
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 Toshiba nb205(netbook), and the first thing I did was put UNR on it. I'm very happy with it, but seeing how the Windows version is very stable and there are drivers specifically for it(I've fixed some of the ubuntu problems already) I'd like to have it on just in case. After installing windows xp, the bootloader took over, and with a live usb of UNR I got in rootterminal and reinstalled grub. Now when I go into grub Windows doesn't show up.
Here's my fdisk -l output:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9e779e77
Device Boot Start End Blocks Id System
/dev/sda1 * 1 8873 71272341 5 Extended
/dev/sda2 * 8874 12697 30716280 7 HPFS/NTFS
/dev/sda5 1 8873 71272309+ 83 Linux
Here's my grub menu.lst. I've tried several edits to this to make it work but no luck so far. I figure we can go back to the beginning so I deleted the Windows edits that weren't working.
I just purchased a Gateway netbook recently. I needed to edit menu.lst. The "rootnoverify (hd0,0)" entry was the repair partition. Windows is on (hd0,1) instead.
[QUOTE=AlucardZero;3643661]How did you "reinstall grub"?
After Installing Windows I found out Grub had been purged because of the Windows bootloader being installed, maybe that's not the case but something happened with the Windows bootloader that wouldn't allow me to use Grub, so I used the liveusb of UNR to run terminal and re-install it(or make it in use, not sure). And now Ubuntu's the only thing showing.
[QUOTE=colorpurple21859] did your windows entry look like this:
title windows
rootnoverify (hd0,1)
map (hd0,1) (hd0,0)
map (hd0,0) (hd0,1)
makeactive
chainloader +1
At first it wasn't like that, but after looking at other posts I tried that but now I get this error saying there is a computer disk hardware configuration problem, and that it could not read from selected boot disk. This is the same error I received after trying jschiwal's method.
@syg00, the problem no longer seems to be with Grub but with the windows boot process.The error I get is as follows, "Windows could not start because of a computer disk hardware configuration problem. Could not read from the selected boot disk. Check boot path and disk hardware. Please check the windows documentation about hardware disk configuration and your hardware reference manuals for additional information.'
At this point I can't figure out what's wrong and I'm tempted to format everything and install windows then UNR, hopefully that fixes all of my problems.
I wouldn't expect the Windoze loader to work in that configuration, but I would expect chainloading to it {as (hd0,1)} to work. Never tried that config so maybe ntldr does some checks I've never seen.
Re-install of everything might be the fix (windoze first). As a matter of interest I always leave 20 Gig unallocated at the start of a new disk in case I need to add something that might be less accommodating than Linux - Windoze, Opensolaris, one of the BSDs ...
@syg00, the problem no longer seems to be with Grub but with the windows boot process.The error I get is as follows, "Windows could not start because of a computer disk hardware configuration problem. Could not read from the selected boot disk. Check boot path and disk hardware. Please check the windows documentation about hardware disk configuration and your hardware reference manuals for additional information.'
At this point I can't figure out what's wrong and I'm tempted to format everything and install windows then UNR, hopefully that fixes all of my problems.
I have one of these machines and 9.04 UNR.
Can you boot into Ubuntu with the current grub?
I had problems in the beginning after repartitioning and installing UNR. I had to restore Windows as you did. Then I had to reinstall grub, but I did it from ubuntu on the disk. I used the install usb for UNR, but instead of reinstalling grub from that, I booted into UNR on the hard drive. I used the advanced settings and removed the part that says quiet splash and also the part that says "file=..." I left the initrd part. I added: root=/dev/sda5 - your root partition may not be that, so change sda5 to whatever it is. It took a very long time for it to boot, but it finally did and then I ran from a terminal:
Code:
sudo -i
update-grub
grub-install /dev/sda
That worked for me.
My original problem after installing UNR was that the geometry of the drive in the BIOS was changed and the windows boot sector showed the location of the ntldr using the original geometry. That was corrected with the windows restore. Did you use Toshiba's restore disk, btw?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.