LinuxQuestions.org
Visit Jeremy's Blog.
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 11-01-2003, 03:18 PM   #1
philY
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Slackware, cfdisk, partitions, etc..


Hi Every1,
I need some slack installation help ... What the surprise? I used to have rh8 and rh9... I had disk druid then ... I am not intending to have any windows system...
I read the Book issued by slackware.org...It sounds complicated sometimes...I got slack cd's... I got 60GB hard disk...My understanding of installation is as follows:
I insert the cd nr 1... It starts booting, I hope ...
Then I need to partition my hd... Probably I will use cfdisk (whatever is available)... Do I need to prepare my hd before inserting the bootable CD?
I want to have 3 logicall disks, 20GB each... Is it possible to do it with cfdisk during installation? I don't want the whole slackware to take my entire 60GB ))
I would like my slack to be on 1 logical disk only...
I understand the swap and root partitions... they must be done within the logical disk...
I think, i also understand the rest of installation procedure... except 1 thing:
How to set up the default run level? I need run level 5 (Gnome or KDE)...
Later I will see what to do with next 2 partitions, for a while they will be empty or I will install rh9 again......
Greetings
philY
 
Old 11-01-2003, 03:34 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,472

Rep: Reputation: 154Reputation: 154
"Do I need to prepare my hd before inserting the bootable CD?"

No. cfdisk can set up your new partition scheme regardless of the current condition of your hard drive.

"I want to have 3 logicall disks, 20GB each... Is it possible to do it with cfdisk during installation?"

Yes, provided what you call logical disks are the same things that cfdisk calls partitions.

"I would like my slack to be on 1 logical disk only...
I understand the swap and root partitions... they must be done within the logical disk..."

Yes, again what you call the logical disk is called a partition or primary partition by cfdisk and a partition within a primary partition is called a logical partition by cfdisk.


"How to set up the default run level? I need run level 5 (Gnome or KDE)..."

That is an option during the install. After the install you can change the default run level by editing /etc/inittab

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-01-2003, 04:11 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Remember that Slackware uses

run level 4

for its graphical mode

su
root password

gedit /etc/inittab

change the

id:3:initdefault:

to

id:4:initdefault:

ie change the 3 to a 4 in this line

and save the file

and reboot
 
Old 11-01-2003, 04:44 PM   #4
philY
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Jailbait,
Hi Skyline,

Quote:
Originally posted by jailbait
[B]

"I want to have 3 logical disks, 20GB each... Is it possible to do it with cfdisk during installation?"

Yes, provided what you call logical disks are the same things that cfdisk calls partitions.
I hope so... I will explain it another way what I have meant... I want to create hda, hdb, hdc or if I called that action windows way, disk C:, disk F, disk G (D and E are for cdrom and dvd) .... For instance if I had 3 hard drives inside of my computer they would be called that way. However I got only 1 hard drive and I want to divide it (partition it).. and pretend that I have 3 hard drives... Then I want to create swap, root partition, Linux partition, and anything that is required for 1 slack installation, only within hda or if I called this another way, on the disk C....
Is it possible to do it with cfdisk then?
-----------------------------------
Skyline, Ok, run level 4, thanks... ty also for command lines...rh was simple with that ...
Greetings
philY
 
Old 11-01-2003, 05:59 PM   #5
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,472

Rep: Reputation: 154Reputation: 154
"I want to have 3 logicall disks, 20GB each..."
That would waste a lot of disk space. I recommend three unequal size partitions.

"Then I want to create swap, root partition, Linux partition, and anything that is required for 1 slack installation, only within hda or if I called this another way, on the disk C....
Is it possible to do it with cfdisk then?"

Yes. The most common way to install Linux is to create 3 partitions:
/dev/hda1 is /boot - 512M
/dev/hda2 is swap - 512M
/dev/hda3 is / - all the remainder, approximately 59 Gigabytes

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-01-2003, 06:25 PM   #6
philY
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Jailbait,
Quote:
Originally posted by jailbait
Yes. The most common way to install Linux is to create 3 partitions:
/dev/hda1 is /boot - 512M
/dev/hda2 is swap - 512M
/dev/hda3 is / - all the remainder, approximately 59 Gigabytes

Steve Stites
/dev/hda3 - I would like this one to be only about 18-19GB
And now I got 40GB free.... What to do with it? Shall I partition it some way?
Or should I leave my 40GB free (untouched) and use it for RH9 installation later?

Greetings
philY

Last edited by philY; 11-01-2003 at 06:29 PM.
 
Old 11-01-2003, 07:56 PM   #7
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,472

Rep: Reputation: 154Reputation: 154
"/dev/hda3 - I would like this one to be only about 18-19GB
And now I got 40GB free.... What to do with it? Shall I partition it some way?
Or should I leave my 40GB free (untouched) and use it for RH9 installation later?"


Either way is OK.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-02-2003, 09:17 AM   #8
philY
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Jailbait,
TY for help... I did understand everything now ...
I made the mistake in first place... If I had only 1 hard drive I would not be able to create dev/hdb... It can be only hda1,.2.3, etc... However I got it ... It took me a while to understand it, but previeously I had 2 hard drives....And my questions were confusing only...Thank You again!
Greetings
philY
 
  


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
cfdisk on Slackware 9.1 - need some help GloVe Slackware 7 04-04-2004 04:20 PM
CFDISK Logical partitions ZeroCoolJr Slackware 7 02-23-2004 06:20 AM
New LILO version automatically make windows partitions hidden changing it with cfdisk TroelsSmit Linux - General 5 02-21-2004 01:50 AM
cfdisk wont detect my partitions r350 Slackware - Installation 1 01-30-2004 05:35 PM
Problems using cfdisk for Slackware 9.1 vespatian Linux - Newbie 5 12-10-2003 06:41 PM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration