Grub question

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

Grub question

Postby j1111c on Wed Apr 11, 2007 5:32 pm

What does this mean in Grub menu lst? /,/dev/.static/dev
What I had done. I had Xp and Bianca Gnome installed and all working fine. I wanted to install Bianca kde and I did. Then I had xp and Bianca kde but the gnome version would not open. So I reinstalled Bianca gnome and kde will not open for me. This shows in menu lst /,/dev/.static/dev. Can I not have all three installed at the same time?
Thanks
J1111c
j1111c
Level 1
Level 1
 
Posts: 26
Joined: Mon Nov 20, 2006 8:49 pm

Linux Mint is funded by ads and donations.
 

Postby Boo on Wed Apr 11, 2007 8:39 pm

that looks like complete junk.
try commenting it out (put a # at the beginning of the line).
Yes you should be able to install all three OS's but grub might not correctly add the other mint linux. manual editing of the grub menu.lst may be required for other operating systems and definitely if you upgrade kernels in the other operating systems.

I was about to do what you are doing last night but ran out of time.
I'll give it a go tonight.

:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby Boo on Thu Apr 12, 2007 10:31 am

I installed mint kde with mint gnome and xp.
It all worked fine.
I can see the /,/dev/.static/dev only in gparted. I wouldn't worry about it since it is listing the mount point of the root partitions as / (correct) and as some other device mumbo jumbo (just to confuse you).
more later.
:)
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Grub question

Postby j1111c on Thu Apr 12, 2007 11:23 am

Boo: Thanks for your reply. In your first reply you mentioned manual update the menu list. I am not sure how to do that. I am enclosing my menu list, hope you can point me in the right direction.
Thanks j1111c


# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default 1
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=98c0a50d-71ef-4419-b5bb-e1a6ad672f0e ro
# kopt_2_6=root=/dev/hda3 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Linux Mint, kernel 2.6.17-11-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda3 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot

title Linux Mint, kernel 2.6.17-11-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda3 ro single
initrd /boot/initrd.img-2.6.17-11-generic
boot

title Linux Mint, kernel 2.6.17-10-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda3 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title Linux Mint, kernel 2.6.17-10-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda3 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot

title Linux Mint, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda10.
title Linux Mint, kernel 2.6.17-11-generic (on /dev/hda10)
root (hd0,9)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda11 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda10.
title Linux Mint, kernel 2.6.17-11-generic (recovery mode) (on /dev/hda10)
root (hd0,9)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda11 ro single
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda10.
title Linux Mint, kernel 2.6.17-10-generic (on /dev/hda10)
root (hd0,9)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda11 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda10.
title Linux Mint, kernel 2.6.17-10-generic (recovery mode) (on /dev/hda10)
root (hd0,9)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda11 ro single
initrd /boot/initrd.img-2.6.17-10-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda10.
title Linux Mint, memtest86+ (on /dev/hda10)
root (hd0,9)
kernel /boot/memtest86+.bin
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint (KDE), kernel 2.6.17-11-generic (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint (KDE), kernel 2.6.17-11-generic (recovery mode) (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint (KDE), kernel 2.6.17-10-generic (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint (KDE), kernel 2.6.17-10-generic (recovery mode) (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.17-10-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint (KDE), memtest86+ (on /dev/hda12)
root (hd0,11)
kernel /boot/memtest86+.bin
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint, kernel 2.6.17-11-generic (on /dev/hda10) (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda11 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint, kernel 2.6.17-11-generic (recovery mode) (on /dev/hda10) (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda11 ro single
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint, kernel 2.6.17-10-generic (on /dev/hda10) (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda11 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint, kernel 2.6.17-10-generic (recovery mode) (on /dev/hda10) (on /dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda11 ro single
initrd /boot/initrd.img-2.6.17-10-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda12.
title Linux Mint, memtest86+ (on /dev/hda10) (on /dev/hda12)
root (hd0,11)
kernel /boot/memtest86+.bin
savedefault
boot
j1111c
Level 1
Level 1
 
Posts: 26
Joined: Mon Nov 20, 2006 8:49 pm

Postby Boo on Thu Apr 12, 2007 8:12 pm

OMG it looks like you have 13 partitions on your hard disk! :o
I would be surpprised if there was that many though I have noticed some strange partition creation with auto partitioning at install.
in a terminal window could you run this command and post it here.
#sudo fdisk -l

This should list all partitions on your hard disk.
:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

grub question

Postby j1111c on Thu Apr 12, 2007 8:43 pm

Boo: Thanks for your help. Hope this is what you want.
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 10990 88277143+ 7 HPFS/NTFS
/dev/hda2 10991 28922 144038790 f W95 Ext'd (LBA)
/dev/hda3 28923 30401 11880067+ 83 Linux
/dev/hda5 10991 12760 14217493+ b W95 FAT32
/dev/hda6 14819 17159 18804051 b W95 FAT32
/dev/hda7 17160 18402 9984366 83 Linux
/dev/hda8 19422 19930 4088511 82 Linux swap / Solaris
/dev/hda9 19931 28854 71681998+ b W95 FAT32
/dev/hda10 12761 14730 15823993+ 83 Linux
/dev/hda11 14731 14818 706828+ 82 Linux swap / Solaris
/dev/hda12 18403 19375 7815591 83 Linux
/dev/hda13 19376 19421 369463+ 82 Linux swap / Solaris
/dev/hda14 28855 28922 546178+ 82 Linux swap / Solaris
j1111c
Level 1
Level 1
 
Posts: 26
Joined: Mon Nov 20, 2006 8:49 pm

Postby Boo on Thu Apr 12, 2007 10:26 pm

just what i thought!
alot of swap partitions created from installs.
you only need one swap that is 1.5 to 2x your ram size and point both mints at it. this is a manual config job.
you should have one swap that is the biggest (this will be the first one created from the first install).

using gparted if in gnome, delete all the swaps not being used (no padlock next to them).

If the one left is about 2x the size of your ram we will use it as your common swap.

If the swap left is not about 2X the size of your ram, then create a swap partition with the unallocated space that is 2x your ram as a swap partition.

*** BTW I don't know what all those FAT32 partitions are, you might be able to get rid of them too. make sure they are unmounted before trying to delete.

you now will have to edit your /etc/fstab to use the new swap space.

could you post your fstab.

### It maybe easier to start from scratch again ###
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby Boo on Thu Apr 12, 2007 11:06 pm

So if you want to start again with mint(s) this is the plan:
boot off mint cd
delete all partitions windows does not need.
install
manual partiton:
1 10GB partition for / format ext3
exteneded partion.
1 2xramGB partition for swap
1 big partiton for /home format ext3
leave at least 10GB unalocated to put kde mint in later.(another / partition)

install to 10GB / partition and make big part for /home

once installed and working, updated...:
boot off kde mint cd.
install
manual partition
make 1 partition out of the unalocated space for / format ext3

install to new ext3 partition.
set the swap space to the one already created if not chosen already.
set the big partition to be /home but DO NOT format!!!!

the install will also want to mount the other / ext3 partition so unselect it to keep it simple(blankout).

when the install is finished kde will be the controlling grub menu.lst.
If you update the gnome mint kernel you will have to manually update the kde grub to boot off a new gnome kernel.

clear as mud???
:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

grub

Postby j1111c on Fri Apr 13, 2007 8:01 pm

Boo: Thanks for your help. If you are ready to give up on me I will understand.
Now for the Mud. From your last post I was going to delete two of the swap partitions. Was unable to unmount ( probably did not understand) with gparted. Did not work. Also did not understand how to get my fstab (I know I am like the mud).
Thanks again.
j1111c
j1111c
Level 1
Level 1
 
Posts: 26
Joined: Mon Nov 20, 2006 8:49 pm

Postby Boo on Sat Apr 14, 2007 12:49 am

never say die!!!!! :P

As per my last post only lets start again with the mint installs.

Forget about the post with the fstab, in that one we were trying to fix what was already installed but it is way easier to start again.

so boot off the grub mint CD.
use gparted to delete all non-windows required partitions (i think that is all the partitions except the first one: hda1). apply and close.
start install.
manual partition....as per before.

:)
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

grub

Postby j1111c on Sat Apr 14, 2007 12:46 pm

Boo: I deleted all but these five. Two that are used for xp and two that are used for Mint gnome and a fat partition that is used for files for xp and Mint.
Then I tried to install Mint KDE and manual partition but partioner hangs at 14% and will not complete. I tried this several times. Both xp and Mint Gnome both are working fine.
I will try another suggestion if you want, if not.
Thanks,
j1111c
mint@mint:~$ sudo fdisk -l

Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 10990 88277143+ 7 HPFS/NTFS
/dev/hda2 10991 28922 144038790 f W95 Ext'd (LBA)
/dev/hda3 28923 30401 11880067+ 83 Linux
/dev/hda5 10991 12760 14217493+ b W95 FAT32
/dev/hda6 14731 14818 706828+ 82 Linux swap / Solaris
mint@mint:~$
j1111c
Level 1
Level 1
 
Posts: 26
Joined: Mon Nov 20, 2006 8:49 pm

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 14 guests