I never got around to fixing this, I’m just using a plop boot cd…it does what I need, boot from hdc 2.
or (hd2,1)
I’m having an issue, because Im not sure how to change the mbr so when I boot the computer from the third hdd, it just works…where is the MBR, and how do I edit it, or better, is there a GUI interface I can use?
The MBR stands for Master Boot Record and there is only one per Hard Disk. There are three basic MBR conditions:
It is blank, such as a brand new drive:
It is set to boot the Active Primary Hard Disk Partition 1, 2, 3 or 4 (Different versions of the MBR exist for each Windows version, but they all do the same thing)
You can load the Grub Boot Loader into it. Why would you do this? So that you can “boot” a copy of Linux/openSUSE from any partition, including Extendten/Logical ones (Partitions 5 and up).
There is a script file called findgrub that you can run that will identify all Hard disks and their boot records here:
Message #69 contains the most recent version of findgrub for you to use. Further, I would post its results here for us to see along with your menu.lst file and device.map files. Open a terminal session and enter the following commands:
cat /boot/grub/menu.lst
cat /boot/grub/device.map
su -
password:
fdisk -l
Post the results for us to see. If you can’t run this stuff, then we will need a lot more information about your computer/Linux setup than what you posted this time to be able to help.
- reading bootsector /dev/sdc2 (LINUX) ... -->Grub found in /dev/sdc2
/dev/sdc needs to be setup as the boot drive in your BIOS - Don’t know if you have done that.
Standard Booting MBR on sdc - Do not know if this is true
sdc2 needs to be marked active for booting, BUT IT IS NOT Active!
Grub Needs to be loaded into sdc2, which it is.
You can check your BIOS setup to make sdc the boot drive. You can use a LiveCD with GPARTED (Like Gnome) and mark sdc2 as Active for booting. You are given an opportunity to load a generic booting MBR when you install openSUSE, but only Windows programs seem to allow you to do this later. However, findgrub does confirm that grub is installed into sdc2 as required.
#1 is true, I boot from sdc and it boots from partition 1 like…it should I guess. #2 is perhaps false, how would I check this? #3 yes, is true, dunno how to change this to active. #4 yep…
is there a way to use GPARTED for the actual installed version? I mean I can dig out the orig live dvd and do it…but it’d be nice.
gparted is on PartedMagic CD (a mini Linux Live system mostly for the purpose of partitioning) and on Ubuntu Live CD. But you don’t need gparted to set the bootflag on a partition. You can do it as root with fdisk:
in a terminal, type:
**su -l**
**fdisk /dev/sdc**
Command (m dor help):** a**
Partition number (1-13): **2**
Command (m dor help):** w**
stupid timed edit post timing things…
sorry for the double post.
Upon trying again I got an error.
WARNING: Re-reading the partition table faioled with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run part probe (8) or kpartx(8).
Syncing disks.
This is not related. sda1 is the active partition of disk sda. sdc2 shoud now be the active partition of disk sdc. That’s what the star indicates. In the absence of a boot manager in the MBR of the first HD, the active partition of the first HD will be booted. If you install a decent bootmanager (like grub) in the MBR of your first HD, you can boot (almost) anything from any partition on any HD (if your BIOS doesn’t mind).
I still restarted the computer to no avail, maybe something is wrong with the MBR on sdc?
Is it possible to rewrite GRUB + MBR so we can start off fresh, only thing that may be a problem then would be the W7 OS which I only need for compatibility issues.
under hwinfo --partition
I find that under sdc2 active=unknown.
it says that for all though…relative?
meh.
i tried at least 3 different methods including that link you gave to me. None of them worked. It seems taht i couldn’t use the iso included in that post, so i had to download the latest one which i guess does not have RoxTerm which i needed, so surprise surprise when I type in ‘grub’ it doesn’t find the command. so now im at a bit of a cross roads…im open to using the bootloader from windows 7, and have tried using easybcd to do this…and for some reason, when i mess with this stuff, the hard drive that has linux changes from hd1,1 to hd2,1…it keeps jumping around, and has been doing this for a while, i can’t even begin to figure this out…
this is giving me such a headache, thanks guys for helping me through.
Does the following quote form ArchLinux Wiki help you better understand?
udev loads kernel modules by utilizing coding parallelism to provide a potential performance advantage versus loading these modules serially. The modules are therefore loaded asynchronously. The inherent disadvantage of this method is that udev does not always load modules in the same order on each boot. If the machine has multiple block devices, this may manifest itself in the form of device nodes changing designations randomly. For example, if the machine has two hard drives, /dev/sda may randomly become /dev/sdb.
This is not uncommon that device names change as described above, in particular when you mix SATA and IDE drives. I also had the case where from time to time an external USB drive became sda. The only thing you can do is avoid using device by names in configuration files like /etc/fstab and /boot/grub/menu.lst and reinstall Grub with an adequate device.map. In case you’re mixing IDE and SATA hds together, you could spare yourself some headaches by getting rid of the IDE ones.