LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 03-10-2009, 01:59 PM   #1
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Rep: Reputation: 15
Triple boot DSL in GRUB


I have a test Windows 7b, Ubuntu 8.04 dual boot.

Yesterday I added a new ext2 partition through gparted (1GB) and installed DSL onto it (and reconfirmed that this had installed later).

DSL was going to restart but this didn't work so then I then went into GRUB and wrote this:

Code:
title  Linux DSL
root   (hd0,6)
kernel /vmlinuz root=/dev/hda7 ro
quiet
after the Ubuntu distro info but before the Other Operating Systems.

Am not sure what's wrong and why this isn't booting through GRUB. Is it that I am following an incorrect procedure or is the entry to GRUB wrong?

Also what does
Code:
quiet
in the code mean?

I just copied the kernel path from notes in GRUB (although hd0, 6 & hda7 is right), but I don't really understand if the above is a correct default for all Linux o/s.
 
Old 03-10-2009, 02:08 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Did you install Grub to mbr with DSL or are you using the Ubuntu Grub?

If you are using Ubuntu Grub, mount DSL partition and go to /boot/grub/menu.lst file and copy the entry for DSL to your Ubuntu menu.lst file. Did you run "fdisk -l" command as root to verify correct partition (hd0,6)?
 
Old 03-10-2009, 02:27 PM   #3
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Original Poster
Rep: Reputation: 15
Triple boot DSL

I'm using Ubuntu GRUB and I think basically did what you mentioned i.e.

create partition in gparted
install (mount) to hda7 (root at -1)

I checked the partition name in gparted (and imagine it's the same as using "fdisk- l"). There isn't an exact example for DSL, but just one for Windows and Linux (see below):

Code:
#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#
(of course I omitted the comments).

Perhaps I should create the addition to GRUB before mounting (installing) as (I think) a restart was interrupted?
 
Old 03-10-2009, 04:39 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
I have DSL 4.2 and the kernel file name is linux24. You should be able to mount DSL partition in Ubuntu but I think it would be easier if you went to a terminal in Ubuntu and entered the fdisk -l command:

sudo fdisk -l

and post the results. You need to have an entry in Ubuntu menu.lst pointing to the kernel in DSL and that kernel file must exist there. You need the exact name.
 
Old 03-11-2009, 08:23 AM   #5
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Original Poster
Rep: Reputation: 15
OK - I will try and let you know.

Just another question. Do I select 'n' for creating a bootloader in dsl if I already have GRUB on my system? (ie there's no point in having 2 GRUB or 1 GRUB + 1 LILO).

It's just that when I tried dsl on its own and selected 'n', it didn't reboot and complete installation (although I'm sure it mounted on hda7).
 
Old 03-11-2009, 09:42 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
If you are booting with Grub from the Ubuntu menu.lst, you will need a title entry in the menu.lst file pointing to the DSL kernel which is probably Linux24. You need to mount DSL from Ubuntu to check to see that file is actually there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Error 13; triple-boot agrestic Linux - Newbie 1 01-17-2009 07:16 AM
Triple boot and GRUB puzzle tmarikle Fedora 7 12-30-2004 05:32 AM
Triple-Boot with GRUB? C0Y0TE Linux - Newbie 3 10-19-2004 12:28 PM
grub triple boot problem the rev Fedora 6 08-12-2004 02:15 AM
Triple boot w/ GRUB belorion Linux - General 3 06-29-2004 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration