Partitioning Strategy for Dual Boot With openSuse
Hi,
Long time reader, new member! Never had the need to register as a) the answers I found solved it and b) wasn't experienced enough to answer other people's questions. Both have now changed so here I am :) I have a spare 2.7Ghz Celeron with a 120GB disk I wanted to Dualboot Ubuntu and openSuse. I jumped in with some tactics I remembered from dualbooting XP a few years back but they haven't worked out well. Here was my plan, I'd love it if you could comment on improvements... I wanted to split the 120Gb as followings: 1 18GB EXT4 for Ubuntu 2 2GB SWAP for Ubuntu 3 18GB EXT3 for openSuse 4 2GB SWAP for openSuse 5 80GB EXT3 to share (pictures, video, files etc.) I had imagined that Ubuntu would be able to read EXT3 but openSuse not EXT4 out of the box hence EXT4 for Ubuntu's install but EXT3 for the shared file "server". Ubuntu installed fine, even got my two screens going with relative ease (had some issues with not being able to write to x.conf). So next I popped in the openSuse CD. It suggested to wipe the partitions I had designated for Ubuntu so I told it to delete and remake the 18GB and 80GB instead. I instructed it to not install a bootloader as I seemed to remember that because Ubuntu already had installed Grub, I'd only need to add the openSuse boot volume to some Grub config file. OpenSuse proceeded to install seemingly fine though it did pop up some errors about EXT4, not sure why it was even looking at that partition. When done I rebooted and got a Grub error, couldn't get anywhere from there, neither to Ubuntu nor openSuse. My observations: 1. I didn't really need separate Swap space as once in Ubuntu, it showed some 4GB swap space, it seemed to bundle them together. So I guess if re-partitioning, a single 2 to 4 GB Swap space may suffice (it has 786 RAM). 2. I must have cocked up the boot loader as evidently, I didn't get anywhere. I don't understand why openSuse ignored my instructions and somehow went and affected the existing boot loader setup. 3. Somehow, openSuse didn't like the presence of EXT4 so perhaps make everything EXT3? 4. Partitioning in Ubuntu was confusing as I had to assign mount volumes like / or /home or /srv for each partition. I guess these are the C: and D: etc equivalent of Windows. Do these have any special designated functionality or can I just pick freely? What makes most sense? So my revised plan is: 1 18GB EXT3 for Ubuntu (would really like a play with EXT4 though) 2 18GB EXT3 for openSuse 3 4GB SWAP for either 4 80GB EXT3 file storage Questions... A: Which mount volumes should I use for each partition? /home /boot ??? B: What should I do with Grub? C: Any point in installing Ubuntu or openSuse first before the other? I'd appreciate your insights. |
Quote:
Normally opensuse do notice the other OS , but maybe not EXE4 in this case it might be better to install opensuse first But the next opensuse 11,2 seems to use EX4 see opensuse 11.2 Milestone2 Normally did not matter which GRUB you like to use So first GRUB on his own partition second GRUB in MBR If necessary both menu.lst are easy to modify |
Unless you are heavily into gaming or graphics you should not need more than 2GB of swap and you will be better off buying a RAM chip. And no, you do not need more than one swap partitions, whether you have one OS or 15 or more.
Quote:
It won't matter which you reinstall first. You need to install Grub to the master boot record from either Ubuntu or Opensuse. This is usually the default so the one you install to the root partition. Usually need to click and Advanced tab to get that option, or at least look for it. If you install the first distro to the mbr, you will then need to add a title line to its menu.lst file for the second distro. |
Quote:
12GB primary ext4 partition for Ubuntu's root. 1-2GB primary partition for swap (easily enough). 12GB primary ext3 partition for Suse's root. (12GB is easily way more than enough for Ubuntu's and Suse's root partitions). The rest of the drive will be a logical ext3 partition for your files and stuff. You can choose the mount point /data for this partition. This is what I do, since I boot several distros. --------------------------------------------------------------------------------------- B: Install Ubuntu's grub to the MBR. Then install Suse to the root partition you have made for it. Choose manual partitioning, and select your /data partition as mount point /data. Install Suse's grub to the Suse root partition. Then add this to the bottom of Ubuntu's grub's /boot/grub/menu.lst: Code:
title Suse -------------------------------------------------------------------------------------- C: You could install Ubuntu or Suse first. I suggested installing Ubuntu first since I have much more experience with Ubuntu; and I prefer Ubuntu over Suse. And welcome to the LQ forums! |
Great, thanks for the replies. Seems pretty clear!
One thing though, about Grub, MBR etc. I don't remember from installing Ubuntu and openSuse yesterday that I was presented with any options. I ran through most of the default stuff on Ubuntu and indeed went advanced on the openSuse installation. All I remember from openSuse regarding boot loader is whether or not to use one. So to recap, checking that I have this right. When I install Ubuntu and so the initial partitioning: - 12GB EXT4 for Ubuntu, mount volume ??? shall I use just / ? - 2GB SWAP for either - 12GB EXT3 for openSuse, mount volume ??? shall I use /boot as it doesn't matter as openSuse install will want to redo this partition anyway - Remaining GB EXT3 for data on mount volume /data (not sure /data was an option in the drop-down, I do remember /srv which I thought was appropriate as it's a file server of sorts) When we're talking about MBR and Grub, we're not talking a dedicated partition for this, are we? When you say "install Grub to the MBR" does Master Boot Record just mean "the 'master' partition that is used for that particular Operating System"? In other words, I'd install Grub when installing Ubuntu first, to the same partition as Ubuntu will be installed on. And then when installing openSuse I tell it to install Grub on that dedicated openSuse partition, right? Then by editing that menu.lst file, I make Grub aware of the option. Do I have to do this for both Ubuntu's Grub as well as openSuse? I guess I'm rambling a bit but just not sure yet on the Grub/MBR config. I'll give it another shot in the meanwhile though. Thanks for the detailed examples! |
Quote:
For Suse, I'm not sure if Suse gives you the option of where you want grub. See if there is an advanced tab on the install, which should allow customizations like this. Quote:
Similarly, the mount point /data will have to be entered manually. You don't have to call it /data, you could call it /whatever_you_want. You could also make it /media/data if you would prefer it to be under /media. I just use /data. Quote:
http://en.wikipedia.org/wiki/Master_boot_record Quote:
|
Similar dual-boot predicament
Hello!
Great instructions -wish I would have seen them sooner. So, I have first installed SUSE but, probably mistakenly, put grub into its partition (not the MBR). I then installed Mandriva 2010 on a second large partition. (They were to share a 1GB swap) However, I first rejected creating any boot loader for Mandriva as I though I would be able to modify the one I had from SUSE. -Then I found your thread... Okay, I then re-ran the Mandriva installation as I knew it would quickly run thru to the end for creating a boot loader. This time I created one in the MBR which automatically created three choices, nicely including one for SUSE. However, neither of the two Mandriva choices (regular or failsafe) will boot, although its SUSE choice hands off the booting to the SUSE loader and SUSE boots just fine. So, can I patch this MBR-based (Mandriva) boot loader file? i.e.: could I go into SUSE and edit...? Or, does the MBR-based boot loader always need to be created first, and thus I really need to overhaul...? Please advise. Al ref. curernt 80GB drive includes: 1GB swap 18GB SUSE partition (sda1) 12GB Mandriva partition (sda2) 45+GB (Open territory) |
Quote:
Quote:
Quote:
Quote:
If you cannot boot Mandriva and can boot Opensuse, the simplest thing to do is to boot Opensuse and log in as root user, type grub in a terminal to get the grub prompt (grub>) and here type the following, assuming Opensuse is in fact on sda1: root (hd0,0) (hit enter key) setup (hd0) (hite enter key) quit (hit enter key) You might run the fdisk -l command as root and post the output as well as the output of /boot/grub/menu.lst file if you are not sure about above. |
Hello!
Yes, I "created one" Mandriva MBR-based grub which boots SUSE just fine but not Mandriva. Well, like a lot of things, there turns out to be more than one issue... I afterwards found that the Mandriva boots were crapin' out on the display driver. (Why? -I have no idea.) So, I elected to give things an overhaul of sorts. Since my SUSE was already customized from display settings thru Windows' domain membership, I blew away the Mandriva partition to 'half-way' start over. I also took this route as I found SUSE has a slick little facility to migrate its grub from its partition to the MBR, as well as GUI screens to add add'l system boot lines much like those spec's Tommcd provided. The 'short of it'... 1GB swap (sda0) 18GB openSUSE 11.2 (sda2) 12GB Mandriva 2010 (sda5) (Hey, I don't know what happened to sda1 & 3-4, but I imagine they were taken by partition extension 'headers' or similar.) NOTE: Apparently both SUSE and Mandriva automatically recognizes a preexisting system and includes a line item for it in its own boot menu. Cool! And, both systems have a GUI-based boot menu editor, although I think SUSE's is a little more thoughtful -just break apart Tommcd's "Configfile" spec' into the two text box entries w/in SUSE's "menu-based" boot line creation method, as "(hdX,Y)" separate from "/boot/grub/menu.lst" Once these systems were shown to run correctly, I simply booted to Mandriva and set its boot menu to zero (0) seconds display so it 'skips' into its system without delay when its chosen from the initial SUSE's MBR-based boot menu. (This may seem risky as I then eliminate access to the failsafe mode, but Mandriva has an excellent install iso with repair/reinstall ... options -even for the booter.) Thanks again Tommcd from Phila for a good start (I'm just a newbie to Linux, out here in Blue Bell.) Thanks Yancek for the added info -nice to know boot management is easier than thought before. Al |
Quote:
This command lists your partitions. For example, on my system: Code:
bash-3.1# fdisk -l I don't know why your first partition is sda0. I don't think I have seen that before. I have never used Suse though. Just out of curiosity, could you post the output of "fdisk -l" please? Glad you got things worked out. Hope the stuff I wrote was helpful. And welcome to the LQ forums! |
Tommcd,
ref.: (I guess I assumed "0", but swap is "1") Disk /dev/sda: 82.0 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 132 1060258+ 82 Linux swap / Solaris /dev/sda2 * 133 2524 19213740 83 Linux /dev/sda3 2525 4072 12434310 5 Extended /dev/sda5 2525 4072 12434278+ 83 Linux Not bad for a rookie! I see I could probably 'daisy-chain' a few of these OSs in the same way. I might next try adding Mepis, Fedora, and perhaps a Windows system, although I heard Windows OSs should be added first (so maybe I'll just keep this drive Linux). i.e.: I'm searching for the best, current all around system to build clients for my kids that will also be educational, so I may need to add a lot of apps once I decide on the base system. Although, I heard "Ultimate Edition" apparently includes a whole hoard of apps, and it's now built on Ubuntu 9.10 Mandriva is now almost fully customized at same level SUSE, however I do not see how to join it to the Windows 2003 Server domain. Thanks. Al |
Quote:
Quote:
http://edubuntu.org/ I suppose you could set up essentially the same thing on Ubuntu just by installing whatever educational apps are included in Edubuntu. Here is a list of the apps included in Edubuntu: http://www.edubuntu.org/applications/8.10 The list is based on Edubuntu 8.10 though. There does not seem to be an updated application list for 9.10 on the Edubuntu site. |
Yes, we've seen Edubuntu however my kids just 'snicker' at it. (My 10th grader is already taking college-level courses and his younger sister is on a similar track.) It's really begun to look like I'll be piecing a system together to 'clone for each of them but I'm not certain Unbuntu will be the base OS. I have now seen a few system preloaded with a vast array of higher-level educational goods. i.e.: SkoleLinux (Norway), Quantian (although 3yrs outdated), and linux.softpedia.com appear to have a multitude of apps to choose from.
In any event, I think I have everything resolved here minus smoothly joining systems under a Win2003 domain. Thanks for the input. Al |
All times are GMT -5. The time now is 12:52 PM. |