|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
First off, here's a printout of the hardrives on my system.
Code:
Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x87df9c9a Device Boot Start End Blocks Id System /dev/sda1 1 1275 10241406 27 Unknown /dev/sda2 * 1276 7649 51199155 7 HPFS/NTFS /dev/sda3 7650 77825 563688720 5 Extended /dev/sda5 7650 9474 14659281 83 Linux /dev/sda6 9475 10448 7823623+ 83 Linux /dev/sda7 10449 77825 541205721 83 Linux Disk /dev/sdb: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x9dc96e9e Device Boot Start End Blocks Id System /dev/sdb1 1 4 32098+ de Dell Utility /dev/sdb2 * 5 4865 39045982+ f W95 Ext'd (LBA) /dev/sdb5 5 4865 39044096 7 HPFS/NTFS Code:
# mkdir /media/root # mount /dev/sda5 /media/root # grub-install --root-directory=/media/root /dev/sda# (hd1,4)/boot/message: file not found Then it goes to an MS-DOS looking boot menu that lists OpenSUSE 11.1 and Windows. I try selecting either one and I get the error: Error 18: Selected cylinder exceeds max. supported by BIOS. I have a feeling it's my EISA partition, which is at the beginning of my HDD that's screwing stuff up by taking up all the cylinders at the beginning of my HDD, but then again, how does the Windows boot loader work then? BTW, I want to remove the secondary HDD, but I need to first get GRUB working from sda. |
|
|||
|
I tried...
Broken Grub menu: boot to the menu, drop to a console and boot openSUSE direct ...and it seemed like it booted, but it didn't go to the GUI. It ended up asking me for linux login. I tried typing but couldn't. As a note, I have to add noacpi acpi=off to my boot menu to make the mouse and keyboard work. I tried... Reinstall Grub in the Master Boot Record and link it to the existing Grub menu in openSUSE ... and it caused the same error as the first time. Error 18: file not found. BIOS doesn't support booting from above such and such cylinder. I tried... Boot from the SuperGrub Disk: see Super Grub Disk Homepage ... and again got the same error as originally I couldn't try the last option in your link because I could never boot into SUSE without that second hard drive connected. I assume if I choose MBR in YaST in my current configuration (with the sdb still attached) it will just put it in the MBR of sdb, which wouldn't get me anywhere. I feel like I need to get GRUB installed at the beginning of my hard drive. Is there any way I can move that EISA partition at the beginning of the hard drive to that secondary hard drive in SUSE? |
|
||||
|
I doubt it the recovery partition that's causing the problem.
Ideally you would keep the other HD (sdb) in place, and have grub on there - as you say it has been. This is better IMO as it helps preserve the integrity of sda The CRUCIAL thing is boot order, and in the case of both being SATA drives you may actually have to change the order they are plugged in to the mobo. If sdb is a pata/ide drive it's ok, but it needs to be Master on the jumper. Principle ideas here: Partitioning/Install Guide - openSUSE Forums
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM |
|
|||
|
sdb is IDE and the jumper is set to cable-select. If you're saying that sdb has to stay, though, then I guess I don't have to change anything since SUSE loads fine with the second hard drive connected. I'll just keep the disk on as a place to make backups and stop fudging with the bootloader.
Thanks for the help. |
|
||||
|
Set sdb to Master!
Then first in the boot order and if it were me, I would seriously consider re-installing suse. Double check that grub is going to MBR on sdb This pic shows it (though it has sda not sdb) http://files.myopera.com/carl4926/albums/671478/19.png Double check back here again at the summary that is shows sdb MBR and hasn't reverted back to something else, if it does there is something wrong in bios settings http://files.myopera.com/carl4926/albums/671478/16.png
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM |
|
|||
|
I could set sdb to master and it already is first in line for booting.
As for reinstalling SUSE, I'll consider it, but I've already lost so much productivity dealing with the first install, I really don't think I have the time to go at it again (especially if it's as painful as the first install). Are the consequences dire? GRUB is already on MBR of sdb, isn't it? |
|
|||
|
You didn't say what kind of drive sda was, is it SATA? If sda is SATA and sdb is PATA, that would explain why the system reverted to sda when sdb was removed. When you have a mixed system like that, there can also be a preferred booting order where PATA overrrides SATA if installed.
When you removed sdb, it reverted to the original setup. So situation at that point is one where you have installed Linux but have no GRUB at all. So the original Windows bootloader took over. You didn't say what the mount points of sda[567] are. Those are important. When you install GRUB, using a rescue CD, /boot must be mounted in the same relative position as it would be when running. I suspect that 5 is / and 6 is boot, but you would have to look at /etc/fstab (on sda?) to tell. Then what you have to do is: mount /dev/sda5 /media/root mount /dev/sda6 /media/root/boot grub-install blah blah |
|
||||
|
This stuff:
Quote:
__________________
Drop in and visit some time. |
|
|||
|
Quote:
grub-install --root-directory=/media/root /dev/sda not a partition. This will install in the MBR. |
![]() |
|
| Bookmarks |
| Tags |
| boot, grub |
| Thread Tools | |
| Display Modes | |
|
|