[solved] grub command to boot on mint?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

[solved] grub command to boot on mint?

Postby dodoecchi on Wed Nov 21, 2007 5:29 pm

hi guys,
i just installed linux mint, but i disabled the boot loader installation because i already have a grub installed on another linux partition (puppy). now to boot into my fresh new linux mint i need to know the command to insert on the menu.lst file. Can somebody tell me, i searched the net but couldn't find any clue. here's my current file:

Code: Select all
timeout 10
color magenta/blue black/magenta

  title Windows XP
  map (hd0,0) (hd0,1)
  map (hd0,1) (hd0,0)
  rootnoverify (hd0,1)
  makeactive
  chainloader +1
 
  title Ubuntu
  root (hd0,7)
  kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=974643b5-6f8a-4046-a295-31a3e63882bd ro quiet splash locale=fr_FR
  initrd /boot/initrd.img-2.6.20-16-generic

  title Puppy Linux
  root (hd0,8)
  kernel /boot/vmlinuz root=/dev/sda9 ro vga=normal


thanks to anyone who'll answer :D
Dorian
Last edited by dodoecchi on Sun Nov 25, 2007 6:15 am, edited 1 time in total.
dodoecchi
Level 1
Level 1
 
Posts: 10
Joined: Wed Nov 21, 2007 5:22 pm

Linux Mint is funded by ads and donations.
 

Re: grub command to boot on mint?

Postby BakUp on Wed Nov 21, 2007 5:56 pm

Welcome to the forums dodoecchi, I hope you enjoy it here, I sure do....

I do not know of any command like that, but I do know of one which you can open and edit the /boot/grub/menu.lst, which would be:

Code: Select all
sudo gedit /boot/grub/menu.lst


1st you will have to go into your new installed Mint menu.lst, copy the mint entry there and then open the Puppy menu.lst and paste the Mint one to it in its proper place.

cheers,
BakUp
User avatar
BakUp
Level 4
Level 4
 
Posts: 200
Joined: Sun Sep 23, 2007 9:20 am
Location: Minnesota USA

Re: grub command to boot on mint?

Postby dodoecchi on Thu Nov 22, 2007 3:20 am

you didn't understand my question
i am not speaking about a command line in a console,
but about the grub boot parameters to add in the menu.lst

but I do know of one which you can open and edit the /boot/grub/menu.lst, which would be:

that's not what i want. i can already do that with my puppy linux installed

1st you will have to go into your new installed Mint menu.lst

and i said "but i disabled the boot loader installation because i already have a grub installed on another linux partition (puppy)" so I do not have a menu.lst on the linux mint partition

so all i new is that someone (with linux mint installed) goes fetch the grub parameters to boot on it.
on other words, what do i need to put in there :

Code: Select all
title <title here>
root <linux mint partition>
kernel ???


Dorian
dodoecchi
Level 1
Level 1
 
Posts: 10
Joined: Wed Nov 21, 2007 5:22 pm

Re: grub command to boot on mint?

Postby newW2 on Thu Nov 22, 2007 11:26 am

I'm not sure what the command is either, but are you sure that menu.list isn't present on the mint install? I'd check that first.

Also Husse has written a: How-to repair grub on the wiki: http://www.linuxmint.com/wiki/index.php ... _your_grub and there is this grub manual: http://www.gnu.org/software/grub/manual/html_node/

Before I started however, I'd keep a Super Grub disk on hand (helped me on more than once)

Hopefully, you won't run into a UUID issue. Look at the Mint Wiki for more on that issue http://www.linuxmint.com/wiki/index.php ... _a_problem

Or if you are sure you want to just do it ... I would make a copy of the current menu.list (call it something like: menu_old.list) and plunge right in.

Here's a copy of one of my menu lists. You'll need to replace the x and # notations for the device names and hd entries. Good luck. :)

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

# linux installation on /dev/sdb5.
title Linux Mint, kernel 2.6.22-14-generic (on /dev/sdx#)
root (hd#,#)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sdx# ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# linux installation on /dev/sdx#.
title Linux Mint, kernel 2.6.22-14-generic (recovery mode) (on /dev/sdx#)
root (hd#,#)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sdx# ro single
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# linux installation on /dev/sdx#.
title Linux Mint, kernel memtest86+ (on /dev/sdx#)
root (hd#,#)
kernel /boot/memtest86+.bin
savedefault
boot
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: grub command to boot on mint?

Postby dodoecchi on Fri Nov 23, 2007 12:07 pm

Also Husse has written a: How-to repair grub on the wiki

i seriously wonder WHY you are redirecting me there... i never said my grub is broken.
this must be an habit, i found this link numerous times during my searches on this forum.

Or if you are sure you want to just do it ... I would make a copy of the current menu.list (call it something like: menu_old.list) and plunge right in.

i know what i am doing when i modify my grub menu.lst file, i often make backup and look at the manual. so do not worry

Here's a copy of one of my menu lists. You'll need to replace the x and # notations for the device names and hd entries. Good luck. :)

yes, this is exactly what i wanted.
I added this to my file but it still won't boot up
Code: Select all
  title Linux Mint
  root (hd0,9)
  kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda10 ro quiet splash
  initdr /boot/initrd.img-2.6.22-14-generic
  boot

and i get the following message:
Code: Select all
[16.190274] kernel panic - not syncing: VDS: unable to mount root fs on unknown block (0;0)

I'm pretty sure the partition addresses are good, though.
i checked with the gnu parted partition tool the sda numbers.

Image
from left to right:
original packard bell hidden backup partition sda1
windows partition sda2
{extended: sda3
backup patition sda5
linux swap sda7
ubuntu sda8
puppy linux sda9
linux mint sda10
<empty>
documents sda6

any suggestions?

Dorian
dodoecchi
Level 1
Level 1
 
Posts: 10
Joined: Wed Nov 21, 2007 5:22 pm

Re: grub command to boot on mint?

Postby dodoecchi on Sat Nov 24, 2007 6:37 pm

a shame nobody has any idea...
i'll wait a few more time then i'll make another install with the boot loader option enabled... since i have no choice

Dorian
dodoecchi
Level 1
Level 1
 
Posts: 10
Joined: Wed Nov 21, 2007 5:22 pm

Re: grub command to boot on mint?

Postby todds on Sat Nov 24, 2007 6:43 pm

Hello this line initdr /boot/initrd.img-2.6.22-14-generic

should be i believe initrd=/boot/initrd.img-2.6.22-14-generic

regards

Todds
User avatar
todds
Level 1
Level 1
 
Posts: 21
Joined: Tue Sep 11, 2007 5:25 am

Re: grub command to boot on mint?

Postby linuxviolin on Sat Nov 24, 2007 7:10 pm

dodoecchi in your post I read:

Code: Select all
initdr /boot/initrd.img-2.6.22-14-generic

But initdr??? Maybe rather try: initrd :wink:

Also are you sure that 'boot' is necessary? Mint is based on Ubuntu so its entry should be like Ubuntu and you have no 'boot' for it...

P.S.= oups todds gave the same response :lol:
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2055
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: grub command to boot on mint?

Postby newW2 on Sat Nov 24, 2007 11:40 pm

That's it exactly. Finger dyslexia rules the day. Correct that and it will boot. :lol:
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: grub command to boot on mint?

Postby dodoecchi on Sun Nov 25, 2007 6:14 am

oh thank you guys it's working !! :D
it always happen to me stuff like that :| i'm hopeless...

Dorian
dodoecchi
Level 1
Level 1
 
Posts: 10
Joined: Wed Nov 21, 2007 5:22 pm

Re: [solved] grub command to boot on mint?

Postby newW2 on Sun Nov 25, 2007 1:32 pm

:lol: :lol: :lol: :lol: .... Happens to you? You are not the only one. Hey I gave you the post on what to add to grub. I knew what was "supposed" to be there, so that is what I read (not typo).
When reviewing printed documents that I have written, I have to turn them up-side-down and read them from right-to-left. It forces me to read every word carefully. I guess I should learn to flip the view on the monitor up-side-down to catch these. :D
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Google [Bot] and 17 guests