LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2009, 09:16 PM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Slackware64-current on a second HD.


Hello!

I am planning to install Slackware64-current on my second sata HD.
On the first one I have winxp and Debian64. Grub is the bootloader.

I want to make sure my system keeps on working after installing Slackware64. So, I need to install Slackware not deleting Grub wich resides on the MBR of the first sata drive.

As far as I know, there are two possible schemes (I've gathered this info from Debian forums):

a) Install Slackware on the second HD (/; SWAP and /home) and letting lilo install on the same drive. After that, I would have to add a stanza in Grub for Slackware. That way if I have to update the kernel for Slackware, I will not need to modify the stanza in Grub.

b) Installing Slackware on my second hard disk, saying no to LILO bootloader and then adding a stanza in Grub for Slackware manually.

At the end, I would like to be able to choose among Debian, winxp and Slackware in Grub.

Please, let me know your suggestion/s and what would you add to Grub in any of those cases.

Thank you!
Glore2002.-

Last edited by glore2002; 08-22-2009 at 09:17 PM.
 
Old 08-22-2009, 09:23 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
install lilo to root partition of slackware and chainload from grub. I don't think the grub used by debian will boot a partition formated by slackware.
 
Old 08-22-2009, 10:42 PM   #3
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by colorpurple21859 View Post
install lilo to root partition of slackware and chainload from grub. I don't think the grub used by debian will boot a partition formated by slackware.
Thanks for your advice. How should I chainload from Grub? What should I add to Grub?
 
Old 08-22-2009, 10:44 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
title slackware
rootnoverify (hd1,0)
chainloader +1

Last edited by colorpurple21859; 08-22-2009 at 10:46 PM.
 
Old 08-23-2009, 08:26 AM   #5
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by colorpurple21859 View Post
title slackware
rootnoverify (hd1,0)
chainloader +1
Thanks again! What about the filesystem for Slackware if I do things this way? Should I use ext4 or ext3? Will grub be able to chainload any of those filesystems?

Last edited by glore2002; 08-23-2009 at 08:27 AM.
 
Old 08-23-2009, 10:32 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
grub will chainload either one, however may have trouble mounting ext4 file system from inside your debian distro, but not for sure.
 
Old 08-23-2009, 10:47 AM   #7
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by colorpurple21859 View Post
grub will chainload either one, however may have trouble mounting ext4 file system from inside your debian distro, but not for sure.
Thank you. I will then go for ext3.
 
Old 08-23-2009, 11:38 AM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
b) Installing Slackware on my second hard disk, saying no to LILO bootloader and then adding a stanza in Grub for Slackware manually.
This is the option I have used many times.

When I am feeling uncertain, I unplug my primary hard drive and then install a new distro to the second drive. Of course, the distro thinks this is the only drive, which is true at the moment. Fortunately, almost all distros nowadays use grub. I let the distro install grub to the MBR of the second drive.

I then reboot with both hard drives enabled. I copy and paste the "new" grub menu.lst options into my existing grub menu.lst on my first hard drive. I need to remember to edit the pasted text to refer to the second hard drive (hd1).

Helping this process is that I maintain a separate /boot partition.
 
  


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
Slackware64-current Touchpad mlpa Slackware 2 07-31-2009 09:31 PM
skype on slackware64-current alexiy Slackware 17 07-31-2009 11:51 AM
help install slackware64-current christyler2009 Slackware 2 06-26-2009 11:31 AM
Slackware64-Current / slackpkg slackass Slackware 31 06-06-2009 10:51 PM
[SOLVED] what's that directory (slackware64-current) sycamorex Slackware 3 05-30-2009 09:03 AM

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

All times are GMT -5. The time now is 02:04 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
Open Source Consulting | Domain Registration