LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Multi-Booting fix with Opensuse (https://www.linuxquestions.org/questions/linux-general-1/multi-booting-fix-with-opensuse-4175465229/)

13stein.j 06-08-2013 08:48 AM

Multi-Booting fix with Opensuse
 
A couple of months ago, I had seen the following, but first, as a pre-explanation, all the Operating Systems listed in my signature are all in one machine, mult-booting. What I had seen is this-- when I select Opensuse from Grub, It gives me an error about not finding /dev/root, and trying to manually resume from /dev/sda2, and whether or not It should try the dev-disk-id method or something like that. And, when I select slackware, it boots into opensuse, but freezes after the first few seconds. So I posted on this forum, no luck. Then I tried this--as root, in a different install, in this case ubuntu, open nemo as root, go into the dev directory, and switch the drive letters of opensuse and slackware. Poof! Slackware worked after updating grub, nut opensuse did not, and knew I had to switch the drive letters of opensuse and something else, but did not know what, and was forced to format and reinstall the opensuse hard drive (to be clear, each install is in a different 100 GB virtual drive). But after I reinstalled, I knew I had to switch the drive letters of Ubuntu and Opensuse, because after reinstalling, booting into opensuse booted Ubuntu. First I installed Grub from Linux Mint so I can run update-grub afterwards, since originally grub is from Ubuntu(just in case ubuntu gets screwed up). Then I switched the drive letters of Ubuntu and OpenSuse from Mint, and Voila! opensuse worked, and when I checked Ubuntu, it worked too! The only thing I don't understand is why editing Opensuse's fstab file did not work, so this is open to discussion.
This is the forum I posted before: OpenSuse suddenly stops booting correctly

GlennsPref 06-09-2013 10:38 PM

That other post is very long, but I feel I get the gist of it.

Chainloading is the easiest and most convienient way to administrate more than 2 OS's on one system.

You may do this already, so please forgive me.

When I add another OS (lets say, install an OS to a harddrive with this system, not for running on this system)

Disconnect power from unneeded drives (take side off case and unplug the drives you don't want messed with.

boot from install media

I setup partitions for / /boot /tmp swap & /home (minimum setup, you may add /var /usr /usr/local)

Install completely (1 hdd, many partitions) the boot loader will be in the mbr of that drive.

reboot and check install of lone OS.

If I want to access this OS from my system instead (changed my mind), I

Re connect the drives, boot to my normal OS and user,

Run an update script (as described in the other thread) on grub(2) to find the new OS and add it to MY systems boot loader.

Cheers, Glenn


All times are GMT -5. The time now is 11:57 PM.