Second hard drive

Other talk about Salix
Post Reply
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

Second hard drive

Post by macondo »

I've been playing with the idea of installing a second hd. Will both hard drives show automatically on the boot screen so i can choose which one to boot?
Last edited by macondo on 22. Jun 2012, 01:50, edited 1 time in total.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Second hard drive

Post by Shador »

No. Bootloaders are not about hard drives.
Image
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

Re: Second hard drive

Post by macondo »

Maybe i didn't formulate the question correctly:
Say i install another OS or another Salix 1337 version on the second hd, i won't be able to choose which OS i want to launch?
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Second hard drive

Post by JRD »

You will be possible to have both. But you need to specify it.
Do you actually use lilo or grub2 ?
Image
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

Re: Second hard drive

Post by macondo »

I use the default Lilo with Salix.
I want to install the Ratpoison Salix version on the second hd, during the installation, do i install Lilo again on the second hd? Thanks...
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Second hard drive

Post by JRD »

No you don't.
Then boot to your actual Salix edition. Note the root partition where your ratpoison edition is installed (/dev/sdb1 for exemple), then edit /etc/lilo.conf, duplicate the entry about your current Salix entry and modify the root parameter accordingly. In my example, setting it to /dev/sdb1.
Then type :

Code: Select all

lilo -v
When you reboot, you will have the choice to boot to your current installation, or to your new ratpoison edition.
Image
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

Re: Second hard drive

Post by macondo »

Thanks buddy!
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Second hard drive

Post by laprjns »

You can also use Lilo Setup
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

Re: Second hard drive

Post by macondo »

It's working perfectly! Thanks to both of you, i must say the lilo setup was a bit confusing to me, so i did it manually :)
I named it Linuxrat, pointed it to sdb1, lilo -v, and away we went. I'm really happy! Thanks guys :lol:

This time i used cfdisk to partition (/,/home) use swap from the original install, chose JFS for the files system, it seems smoother.
Post Reply