LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-06-2006, 08:10 PM   #1
SuperK
LQ Newbie
 
Registered: May 2006
Posts: 25

Rep: Reputation: 15
Need some advice for installing DSL as a dual boot


Hi,

I want to try DSL on my Linux box but need a little advice first. I have a 2.5 GB master HDD (hda1) with Winbloze2000pro on it, the slave HDD is 10 GB (hdb1) with Ubuntu Breezy on it with grub as the bootloader. Now since a hardware change of the MoBo, RAM and CPU Win2000 will not boot- BSD- but Ubuntu is fine. Since I never use windows on this machine anyhow ( I have my gamer for that) I was hoping to get some experience with another Linux distro.

I have had problems with getting the grub 16/17 error in the past (after trying to do a apt-get dist-upgrade) and it caused me to have to reinstall, which is something I wish to avoid this time.

So what would I need to know, especially when is pertains to the grub bootloader or the MBR, to be able to have a Ubuntu/ DSL dual boot system?

Any advice is greatly appeciated, thank you!
 
Old 06-06-2006, 08:21 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Well, since you are just overwriting windows...create your partitioning scheme the way you like format and install DSL on /dev/hda*. After that, add the lines to your grub menu.lst so it can find the DSL kernel, and away you will go.

If you have questions about any of the above be specific and we'll do our best to help you out.

Regards,

Alunduil
 
Old 06-06-2006, 09:27 PM   #3
SuperK
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by alunduil
Well, since you are just overwriting windows...create your partitioning scheme the way you like format and install DSL on /dev/hda*. After that, add the lines to your grub menu.lst so it can find the DSL kernel, and away you will go.

If you have questions about any of the above be specific and we'll do our best to help you out.

Regards,

Alunduil
Thanks,

Ok I am really not overly familiar with the command line so...how exactly would I do that? I assume in a console. I tried grub menu.lst in my console just now and just got intructions to press tab for a list of commands, I was thinking I would see something with a list of my Linux kernels or something similar.

What would the line or text I need to add look like?

Like I said, I'm not entirely comfortable with the command line and console yet, so I tend to need things spelled out step by step until I either see them done once or do them myself- although the latter tends to lead to much frustration and nashing of teeth on my part.

Thanks again!
 
Old 06-06-2006, 09:41 PM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
That's alright. I'm assuming you only need help with editing grub from your post. menu.lst is actually just an ascii file that GRUB reads to make the boot menu, and handle the loading of the kernel. To open that file use your favorite text editor (I like vim, and that is what is in the example).

Code:
vim /boot/grub/menu.lst
You will need to add the info for the DSL kernel (should look similar to the following).

Code:
title=linux-2.6.16-gentoo-r7
    root (hd0,0)
    kernel /boot/bzImage-2.6.16-gentoo-r7 root=/dev/hda3 video=vesafb:mtrr,1024x768-32@85
The above is an actual entry from my menu.lst, and should provide you with a good guideline.

Good luck, and post back if you have more questions.

Regards,

Alunduil
 
Old 06-07-2006, 05:50 PM   #5
SuperK
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Hi,

I put the first command you posted into a terminal and got kind of weird result (at least to me) I got a bunch of text-including something that looked similar to your distro information- but the funny thing was that I had to expand the window itself to get to the bottom of the text, in other words the scroll bar would not work to be able to view all of the stuff that came up, so I don't know if I got to see all the readout or not. Hope that makes sense to you.

So once I install DSL do I go back and put the information in that same window or what? And where do I find the proper text to insert? Is there someplace to look so I get it correct? Will I be given a choice to install grub or LILO perhaps during the install and if so do I do it or not? I don't know if it was a thing with vim or what as to why the scroll didn't work but I didn't want to do it until I knew I had seen all the information I needed.

Thanks for the help so far, I appreciate it!
 
Old 06-07-2006, 07:47 PM   #6
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Quote:
Originally Posted by SuperK
Hi,

I put the first command you posted into a terminal and got kind of weird result (at least to me) I got a bunch of text-including something that looked similar to your distro information- but the funny thing was that I had to expand the window itself to get to the bottom of the text, in other words the scroll bar would not work to be able to view all of the stuff that came up, so I don't know if I got to see all the readout or not. Hope that makes sense to you.
That's just how vim works. You can really use any text editor you want you just need to be able to add your DSL info to the grub file.

If you want to learn more vim try the tutorial:
Code:
vimtutor
Quote:
Originally Posted by SuperK
So once I install DSL do I go back and put the information in that same window or what?
Yep, and then you will not need to install grub or lilo again.

Quote:
Originally Posted by SuperK
And where do I find the proper text to insert? Is there someplace to look so I get it correct?
A good reference is
Code:
man grub.conf
, but something a little more basic is http://www.gentoo.org/doc/en/handboo...p=10#doc_chap2.
Quote:
Originally Posted by SuperK
Will I be given a choice to install grub or LILO perhaps during the install and if so do I do it or not? I don't know if it was a thing with vim or what as to why the scroll didn't work but I didn't want to do it until I knew I had seen all the information I needed.

Thanks for the help so far, I appreciate it!
Regards,

Alunduil
 
Old 06-09-2006, 08:30 AM   #7
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: slackware, centos, scientificlinux
Posts: 124

Rep: Reputation: 25
If you put DSL on the hard disk (frugal grub install), it will probably overwrite the existing grub (ie Ubuntu's) and install the DSL grub (unless you have changed the script so it doesn't).

Once DSL is installed, easiest thing to do is add the lines corresponding to the Ubuntu kernel in het DSL menu.lst. You can simply copy and paste them from the existing Ubuntu menu.lst. Copy them before installing DSL, just to be sure. You won't have to reinstall grub. After editing the DSL menu.lst reboot and you will be offered the choice between DSL and Ubuntu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Have new system, advice me to build it dual boot!!! lomba36 Linux - Newbie 3 03-31-2006 07:48 AM
Need advice on turning existing Linux dual-boot into tri-boot with XP mojovski Linux - Newbie 7 03-14-2006 10:55 PM
dual boot advice needed RRepster General 8 11-08-2005 02:27 PM
I need dual boot advice criz Linux - Software 5 09-11-2005 06:37 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM

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

All times are GMT -5. The time now is 08:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration