LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-17-2005, 10:21 AM   #1
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
Slackware on an extended partition?


Is it possible to install Slackware on an extended partition?

For example.

60 GB Harddrive partition Scheme.

hda1 swap 1 GB
hda2 /boot 50 MB
hda3 / 1 GB
hda4 --- extended ----
hda5 /home 4 GB
hda6 /opt 3 GB
hda7 /tmp 1 GB
hda8 /usr 15 GB
hda9 /var 4 GB
hda10 /Slackware with the rest (30+ GB)

Reason I ask? Trying to install a dual boot system

Linux From Scratch / Slackware

Last edited by AxXium; 06-17-2005 at 10:22 AM.
 
Old 06-17-2005, 10:22 AM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
yes it is!

gl
 
Old 06-17-2005, 10:31 AM   #3
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
Great.

Next question:

Since I have no internet access on that computer I will first install Slackware. To install LFS using Slackware as a host OS, I will to be able to mount the remaing partitions from Slackware. I have installed Slackware several times and could do it in my sleep but installing Slack before a second OS is new for me.

Should I mount those remaining partitions

hda1 swap 1 GB
hda2 /boot 50 MB
hda3 / 1 GB
hda4 --- extended ----
hda5 /home 4 GB
hda6 /opt 3 GB
hda7 /tmp 1 GB
hda8 /usr 15 GB
hda9 /var 4 GB

during the Slackware install to be able to mount them from Slack for the LFS install or will that make Slackware install to those partitions during the Slack installation?
 
Old 06-17-2005, 10:48 AM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
i've never tried LFS, but if i understand the concept from what you are suggesting, my guess would be first install slackware on its own partition so all the root subdirectories stay there, and then make your partitions for LFS afterward (or make them during slack setup, but leave them alone, don't assign directories to them, etc). but as i said, i've never done LFS, so you might want to take that with a grain of salt.
 
Old 06-17-2005, 10:51 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
during install, you should only mount the partitions that you want to install to.
when Slack is running, you can mount any partition you want.

but you're using 1 partition for Slack and 6 fo LFS.
is that needed for LFS ?

egag
 
Old 06-17-2005, 11:09 AM   #6
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
No.

The minimum needed is...

One for Slack.
One for LFS.
And they can share the swap.

but I definetly want to them to each have a partition that won't be reformatted if I need or want to reinstall them in the future, i.e. a home partition.

I'm trying to figure a safe partitioning scheme that allows that.

something like

hda1 (LFS Root)
hda2 (LFS Home)
hda3 (Shared Swap)
hda 4 ---extended---
hda 5 (Slackware Root)
hda 6 (Slackware Home)

That's what I will Probably do.

That's as simple as I can figure it

Here's the catch Slack uses Lilo as default
LFS uses Grub as default


Hmmmmmmm....

I'm working things out as I go.

I'm worried about the boot loaders.

I may just boot slack from a floppy till I get grub straight.
 
Old 06-17-2005, 11:18 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
it's ok to just install lilo to boot both.
when you install LFS, you don't install a bootloader.

instead boot Slack, mount the partition where the LFS kernelimage is,
and add a linuxsection for LFS in your lilo.conf
containing smth like
-----
image=<mountpoint-of-LFS-partition>/boot/LFS-kernel
root=/dev/hdxx ( the LFS / partition )
label="LFS"
read only
------

after that run "lilo" and check if the output gives no errors.
if all is ok, you have a dualbooting system.

egag
 
  


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
Moving from extended partition to primary partition joelbudgor Linux - General 5 05-26-2004 06:08 PM
Booting from an extended partition - need a partition table editor Ouch_Taser Linux - General 2 02-10-2004 06:22 PM
resize extended partition hartlandcat Linux - Hardware 3 11-01-2003 12:28 PM
Mounting Extended XP Partition silkmaze Linux - General 4 08-20-2003 06:03 AM
installing on an extended partition mimi Linux - General 1 06-08-2002 11:43 AM

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

All times are GMT -5. The time now is 02:56 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