Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-06-2007, 02:00 PM   #1 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Question How to boot the second distro?


I think this kind of a strange problem and I don't know if anyone of you have encountered. I got a Western Digital 40GB PATA HD, which I'm using at as a slave along with Seagate 160GB SATA HD. I've got Ubuntu Feisty installed on my SATA. Today, I installed a distro(can't name it here for obvious reasons) on the PATA drive, because this distro can't detect my SATA HD due to a bug in the BIOS(this has been confirmed by MSI. I got a MSI-RS480M2 motherboard). This distro has the base of Slackware. Since LILO of this new distro can't write into the SATA HD, I had to write it to the /root partition. Now, while booting, I can see only the options of Ubuntu and Windows, but not the other distro, for obvious reasons. Is there any method for Ubuntu to detect this distro as well and let me boot into that? I really, really need that distro as well. Please help out guys!
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 12-06-2007, 02:54 PM   #2 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: How to boot the second distro?

Can't you add manually to grub's menu.lst in ubuntu?
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 12-06-2007, 08:47 PM   #3 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

I couldn't get to edit the menu.lst properly by adding the name. I think there is still

some information missing for the other distro to boot. There is a section for other

OS created by Debian and it looks something like this for my Windows XP

Quote:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows NT/2000/XP(loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
I appended the following entry

Quote:
#This entry manually added by me for the xxxxxxxxxx distro on /dev/hdd1
title xxxxxxxxx distro
root (hd1,0)
makeactive
Is there anything missing or have I gone wrong? My fdisk output is something like

this. I am not able to post the exact output as I'm on dial-up and need to save the

text entries in Windows and then connect to the net from there.

Quote:
Disk /dev/sda: 160.0GB, 160041885696 bytes
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 19457 125572072+ f W95 Ext'd (LBA)
/dev/sda5 3825 8923 40957686 7 HPFS/NTFS
/dev/sda6 8924 12318 27270306 7 HPFS/NTFS
/dev/sda7 12748 15816 24651711 7 HPFS/NTFS
/dev/sda8 15817 16789 7815591 83 Linux
/dev/sda9 16790 16911 979933+ 82 Linux swap / Solaris
dev/sda10 16912 19457 20450713+ 83 Linux

Disk /dev/hdd: 40.0 GB, 40020664320 bytes
/dev/hdd1 1 653 5245191 83 Linux
/dev/hdd2 654 784 1052257+ 82 Linux swap / Solaris
The rest of the space in this is left unallocated as I wish to install OpenSuSE 10.2

there Any help guys?

Bump!
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)

Last edited by phreak0ut; 12-06-2007 at 08:50 PM. Reason: Automerged Doublepost
phreak0ut is offline  
Old 13-06-2007, 02:17 AM   #4 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: How to boot the second distro?

Upload your menu.lst and lilo.conf (from unnamed distro) somewhere and link us to that. Also, post the output of ls command on /boot directory of your unnamed distro.
__________________
Windows users shouldn't get to use the real computers. They know just enough to be dangerous.
eddie is offline  
Old 13-06-2007, 02:31 AM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: How to boot the second distro?

the first thing to do is find and mount ur "anonymous" distro in Ubuntu.have a look at tat distro's lilo.conf wherever it is located.copy down the kernel names (vmlinuz-2.6.xx.-686,initrd-2.6.xx-686(if there) ).then find what's the partn for ur "anonymous" distro.now open ubuntu's /boot/grub/menu.list and add the entry as:
Code:
title      name of the distro
root        (hd0,x)
kernel        /vmlinuz-2.6.xxx root=/dev/hdx ro 
initrd        /initrd.img-2.6.xxxx
savedefault
there are few things to look up.first is root (hd0,x) is ur first hdd and (hd0,x) is for eg: /dev/sda10 is ur root "/" then (hd0,9) u shud enter.
for second hdd, (hd1,x) is the way.GIYF.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 13-06-2007, 07:35 AM   #6 (permalink)
In Pursuit of "Happyness"
 
kalpik's Avatar
 
Join Date: May 2005
Location: New Delhi
Posts: 3,432
Default Re: How to boot the second distro?

Why the suspense about the name of the distro? Is it ***spire?
__________________
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
kalpik is offline  
Old 13-06-2007, 07:49 AM   #7 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: How to boot the second distro?

Ya whats so hush hush about your distro???
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 13-06-2007, 08:20 AM   #8 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Talking Re: How to boot the second distro?

If I posted the name of the distro, I think I'll be violating the forum rules. Kalpik might have a fair idea what I'm talking about

@eddie-You are trying to catch me? Hehehe

@Praka-I'll soon do that and post the output. I think your solution just might work.
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 13-06-2007, 09:34 AM   #9 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,708
Default Re: How to boot the second distro?

I still cudnt get it , even if its linspire , why cant we name it here ????
__________________
n00b forever...
~Phenom~ is offline  
Old 13-06-2007, 09:55 AM   #10 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to boot the second distro?

people use that crap. pity. Rather stick to windows than use something that makes a really bad attempt to clone windows.
And linspire has base of slackware? I thought it was debian based. Can someone clarify?
mehulved is offline  
Old 13-06-2007, 10:34 AM   #11 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: How to boot the second distro?

I don't understand why would ppl use one more than one distro? After all one is sufficient to survey your purpose.
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 13-06-2007, 10:41 AM   #12 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,708
Default Re: How to boot the second distro?

yeah , one distro is sufficient.
__________________
n00b forever...
~Phenom~ is offline  
Old 13-06-2007, 01:10 PM   #13 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

Hey guys, chill! I need this distro for personal use and ITS not Linspire. Never used that and I think I'll never use that as well after the reviews I've read This distro IS slackware based.

Anyway, here is the lilo.conf of that distro.

Quote:
boot=/dev/hdd
prompt
timeout=20
bitmap=/boot/splash.bmp
change-rules
reset
vga=0x317
image=/boot/vmlinuz
root=current
initrd=/boot/splash.initrd
label=secretdistro
read-only


I edited the entry in menu.lst as following:
Quote:
#This entry manually added by me for the xxxxxxxxxx distro on /dev/#hdd1
title secretdistro
root (hd1,0)
kernel /vmlinuz-2.6.20-blah-blahblah-NOSMP root=/dev/hd1 ro
initrd /boot/splash.initrd
savedefault
I get an error called Error 15: File not found

Is there a mistake in the entry I have made or the path of the disk?
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)

Last edited by phreak0ut; 13-06-2007 at 01:12 PM. Reason: Automerged Doublepost
phreak0ut is offline  
Old 13-06-2007, 01:17 PM   #14 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile

so edit ur ubuntu's /boot/grub/menu.lst and add at last
Code:
title             Slax
root            (hd1,0)
kernel          /boot/vmlinuz root=/dev/hdd1 ro vga=0x317
initrd            /boot/splash.initrd
savedefault
boot
I hope that ur hdd is sata hence sdb1 else replace with hdb1.save and exit.
if in doubt with hdd names try/post the o/p of "fdisk <> -l" here
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 13-06-2007 at 06:29 PM.
praka123 is offline  
Old 13-06-2007, 01:22 PM   #15 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

No Praka, the second one is PATA. I think it will be hdd1. Please check out my fdisk -l in the 4th post I'll try out now
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 13-06-2007, 01:30 PM   #16 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to boot the second distro?

OK.then try "hdd1" there replacing sdb1.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 13-06-2007, 04:25 PM   #17 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Default Re: How to boot the second distro?

No need for multiple distros. All apps work on every gr8 distro like Redhat, Fedora, Mandriva and Ubuntu, of-course slackware which Mehul uses.
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
The Unknown is offline  
Old 13-06-2007, 06:07 PM   #18 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

I'm again getting the same error Error 15: File not found
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 13-06-2007, 06:14 PM   #19 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to boot the second distro?

check carefully the lines.btwn did u have a separate partition for /boot?also do check and make sure the kernel image(vmlinuz) and initrd are there.note the names correctly and replace it on the new entry above.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 13-06-2007, 06:27 PM   #20 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

I have just 2 partitions. One for root and the other for swap. I've entered exactly what you have posted Praka.
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 13-06-2007, 06:28 PM   #21 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to boot the second distro?

can u show us the output of
Code:
~#ls -l /boot
atleast,yeah i hope it wont let ur secret OS be out.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 13-06-2007, 06:52 PM   #22 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

the ouput is:
Quote:
splash.bmp splash.initrd
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 13-06-2007, 06:54 PM   #23 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to boot the second distro?

so no kernel(vmlinuz) there? what about other files.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 13-06-2007, 08:14 PM   #24 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

No other files, only these. So, lilo.conf taking us for a ride?
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 14-06-2007, 02:37 AM   #25 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: How to boot the second distro?

You secret distro forgot to install kernel in your file system. I don't think how well can people help you if you keep all this process so hush hush. Probably you should try distro's own forum / irc channel. There you'll get much better and to-the-point help.

@mehul: What you think is correct. Linspire as well as Freespire are Debian based.
__________________
Windows users shouldn't get to use the real computers. They know just enough to be dangerous.
eddie is offline  
Old 14-06-2007, 08:54 AM   #26 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to boot the second distro?

its weird!it seems if u reveal atleast the package management used(.deb,.rpm,.tgz,source) then only we can say how to reinstall Linux-kernel.u can do it via chroot from Ubuntu as u say u got ubuntu installed and bootable.or leave this secret game?what's with us?we dont care what ever the distro u use? so open it
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 14-06-2007, 09:48 AM   #27 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to boot the second distro?

Since it's based on slackware, package format has to be tgz. But, it's difficult to find a binary optimised for that distro unless the distro name is mentioned.
mehulved is offline  
Old 14-06-2007, 10:16 AM   #28 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: How to boot the second distro?

@phreak:Its OK u can post the name of distro here.
ur /boot missing kernel.that means u shud get the kernel .tgz for the version to be installed somehow.I dont know much about slackware package manager.but the basic thing is u shud chroot to ur slax based distro from ur stock Ubuntu,install slax kernel etc.but since ur distro is live cd?u may need to copy the kernel and other parts(/lib/modules/uname -r) from live-cd session uff!.this is bcoz ur distro's kernel is custom compiled rather than slax kernel or slackware one afaik.so boot it as live-cd copy the kernel related stuffs to ur hdd /boot of ur slax based distro and try booting.
else u may need to compile a kernel from scratch and install it to ur slax based distro as chroot from Ubuntu.choice is upon u.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 14-06-2007, 06:27 PM   #29 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: How to boot the second distro?

WOW!!!!!!!!! Way too much work to do. Exams also closing in and no time for so many things. You are bang-on target Praka, about the details of the distro Its a live-cd which can be instaled. Also, I'm on dial-up Oh yeah, the distro's name is Back|Track. I think everyone is relieved now and my thread will be closed

Well, I reinstalled and to my surprise, I found that /boot has got the following files now. Its got both the vmlinuz and initrd files. Need to do some modifications to menu.lst and I think I'll be able to boot Will post once(again) its done.
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)

Last edited by phreak0ut; 14-06-2007 at 06:27 PM. Reason: Automerged Doublepost
phreak0ut is offline  
Old 14-06-2007, 06:35 PM   #30 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to boot the second distro?

I think u deleted linux kernel in ur earlier setup
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Distro? sunny_guha Open Source 1 03-02-2007 06:54 PM
Best Linux Distro ::cyborg:: Open Source 5 22-01-2007 09:07 PM
what's the distro that you would suggest...? shankar_ganesh Open Source 2 02-01-2007 07:00 PM
which linux distro for me Champ Open Source 5 15-06-2006 07:44 PM
[distro hub] Get Your Favourite Distro !!! aku Open Source 2 25-11-2005 06:28 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 12:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2