11.2 install attempt - no / mount point offered

I multi-boot XP and 4 linux distros. I have 4 - 10GB partitions that I install distros to and one large /home partition. I was going to replace the distro on /dev/sda6 with opensuse 11.2. I got to the partition page and chose to edit. Then I chose my swap partition and chose to format it. Next I chose /dev/sda6 and chose to format it. I then tried to choose the mount point as /. That was not one of the choices. The choices were /var, /user, etc but no plain / for root. Not wanting to possibly mess up my system I aborted. I have looked at the installation documentation that I found before and after I tried the install but didn’t find anything that addressed my question.

Can someone enlighten me or point me in the right direction?

It won’t let you simply type in the / for it?

If that fails, you could always delete that partition and recreate it. Then it should allow you to format and mount it as anything you like.

Yes, when I start with the / it offers one of the other options like ‘/var’. I can delete that part and just have the / left. I was unsure if that would work or not.

Didn’t want to delete the partition if I didn’t have to. Might cause problems with the other OS’s.

The only reason I can think of for it not to let you choose /, is if it already has one specified.

Check thoroughly - on all drives.

Personally, I’ve found it much easier to choose ‘create partition set up’, and start from scratch.

This was the answer. There was already a partition specified as /. I will proceed with the install. Thanks to everyone for pointing out what I should have noticed. I will mark this thread as solved.

Looked but didn’t find a way to mark thread as solved.

It continues to astound me the stuff you can miss in the installer. I’ve come literally a click away from deleting everything from my system on a ridiculous number of occasions. :stuck_out_tongue:

Glad you got it sorted - have fun!

Will look at it some more soon. The MBR and boot thing was not that simple to me. Luckily I knew to use my Mepis cd to repair the MBR back to what I had before the install. Then I was going to copy the entries from the Suse menu.lst over to the one that Mepis is using. When I looked at the menu.lst in Suse it was blank. Then I realized that I had set the /home folder to ext4 and it should have been ext3 because all of the other home folders were ext3. So I had to re-install and did. Still the Suse menu.lst was blank. I looked at the menu.lst.old and there it was. So I copied that and booted back into Mepis and edited the menu.lst there.

I do wonder about two things in OpenSuse 11.2:

  1. Why does it default to the command line login?

  2. It seems that everything I tried to do required the root password.

Spoke too early in previous post. After I copied the menu.lst entry from OpenSuse to the Mepis menu.lst I get a kernel panic. It reads:

Kernel Panic - not syncing: VFS:Unable to mount root fs on unknown block (0,0)

Here is what I put into the Mepis menu.lst:
title openSUSE 11.2
root (hd0,4)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-MAXTOR_STM3250310AS_5RY0FGRB-part5 resume=/dev/disk/by-id/ata-MAXTOR_STM3250310AS_5RY0FGRB-part2 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd

Should I edit the kernel line and change everything after root=dev/ on the two lines between kernel and initrd and make it /dev/sda5?

Personally, I’d reinstall, and put SUSE’s grub on SUSE’s root partition - then you can chainload it from your Mepis grub.

Probably not impossible to fix it from here - but as you’ve just installed, starting again is almost certainly going to be less hassle…

If I re-install then should I enable MBR and enable /boot?

I had rather keep my menu.lst where it is - on Mepis. Help me understand why the menu.lst in OpenSuse is blank and why if I copy a section from the OpenSuse menu.lst.old and paste it into my current menu.lst that it doesn’t work.

I don’t mind re-installing but after reading some about chainloading I still don’t understand it.

Maybe I don’t understand how grub, mbr, and /boot are supposed to be set up.

Thanks

Basically, all chainloading does it lets you boot with the Mepis grub and when you choose SUSE, it just pushes you into the SUSE grub and that version of grub takes over. This way, any changes in the SUSE grub have no effect on the Mepis grub.:wink:

Thanks, Wilson_Phillips. That is a whole lot better than what I read. A lot of the explanations on how to do things that I find on the internet are geek explanations that only another geek could understand.:wink: Not calling you a geek.:slight_smile:

I kept trying things in the Mepis menu.lst and was able to get into OpenSuse from the grub menu. Hooray!:stuck_out_tongue:

Now I am in search of what to edit so that I go right to the gui rather than getting dumped off at the command line login.

I am not having any luck finding what to edit so that my OpenSuse 11.2 will boot right to the gui rather than the command line. Can someone point me in the right direction?

Thanks,

In my search and reading about run levels and init I have found a line in /etc/inittab that says: id:2:initdefault:. According to init

The /etc/inittab File
Each entry in inittab is a single line with 4 fields separated by colons (lines that begin with a # are comment lines):

id:runlevel:action:process

Suppose we have the entry

fb:235:wait:/sbin/myscript

in inittab. The field explanations are:
id: A unique 1 or 2 character identifier which init uses internally. You can use any id you want, as long as you make sure each line has a unique id. The id for our sample entry is fb.
runlevel: Which runlevel this entry applies to. If you want this entry to be run for multiple runlevels, simply list them all. Thus our sample entry will be run whenever we enter runlevels 2, 3 or 5.
action: Tells init what to do with the entry. Some actions are: initdefault: init interprets this as the default run level
wait: init starts the process and waits until that process exits
once: init starts this process once when the runlevel is entered.
respawn: The process will be restarted by init whenever it terminates
. There are many more actions, and you can see what each does by looking at man inittab.
process: The name of the process init has to start (not necessary if the action is initdefault).
The processes to run for each runlevel are specified in /etc/inittab. If you look at /etc/inittab, you’ll see one of the first lines (all lines starting with # are comments):

id:3:initdefault:

which means that when you boot the computer up, you automatically go into runlevel 3. If you want to automatically go into the X GUI when you turn the compture on, change the 3 to a 5. Note that this IS the runlevel upon booting. If you change this value to 0 or 6, you will not be able to boot the computer without a rescue disk. Be careful when changing this line.
It looks like to me that if I change the 2 to a 5 in the ‘id:2:initdefault:’ line then I would boot to the gui.
Can someone with more expertise than myself tell me whether or not this is correct?

At the end of the article it says “Instead of changing the runlevel using init, you could also change it using /sbin/telinit which is simply a symbolic link to init. I have no idea why telinit exists.”

Telinit is a link and is therefore not a text document. How do you edit a link to another file?

Thanks,

Just a final note on this thread.

I edited the /etc/inittab file and made the change from 'id:2:initdefault: to 'id:5:initdefault: and booted directly into the gui.

Success!! Hooray!

Thanks to everyone,
Harold

Great! Have to admit that last one had me completely baffled… :stuck_out_tongue:

FYI

A link is just a file that points to another file. All things in Unix are files. You can edit it but you are actually editing the file the link points to.

This allows you to do things like if you have 2 versions of an app installed but have other programs or scripts that refer to that program rather then change all the scripts to point to the version you want you can simply have a symbolic link to point to the current version you wish to use currently.