LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2009, 10:05 AM   #1
ejames82
Member
 
Registered: Jun 2009
Posts: 110

Rep: Reputation: 15
never used cfdisk before, small HDD as well.


i have a rather old hp pavillion that i would like to prevent from becoming useless. the hard drive in it is very small. it has a version of linux, probably ubuntu, already installed, because grub loads at bootup. being such a small hard drive, i have decided to install damn small linux instead, but i don't know how to use cfdisk, the native dsl partitioner.
dsl is running off the cdrom. it's not installed on the hard drive.
i became root by putting this in terminal:

sudo -s

then i accessed cfdisk by using this:

cfdisk /dev/hda


the cfdisk utility came on screen with the following info:

disk drive: /dev/hda
size 545513472 bytes 545MB
heads: 255 sectors per track: 63 cylinders: 66

hda1 primary linux 82.26 MB
hda2 primary linux ext2 172.74 MB
hda3 primary linux ext2 287.89 MB


to make a long story short, is this hard drive big enough for damn small linux?, and are these partitions adequate?
i could sure use some guidance using this utility. i don't honestly know which partition to use as root, which to make swap, which to make home, and which to make bootable.
going from the graphical user interface that ubuntu offers to cfdisk is quite a change. could someone lend some expertise? thanks.
 
Old 08-11-2009, 10:10 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Repartition it with parted magic CD or something else first. During install you will need to indicate the mount points.

root partition / 250 MB
/home 200 MB
swap 50 MB
 
Old 08-11-2009, 12:27 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by amani View Post
Repartition it with parted magic CD or something else first. During install you will need to indicate the mount points.

root partition / 250 MB
/home 200 MB
swap 50 MB
Why? The OP can partition with Cfdisk. That's what the OP wants.
 
Old 08-11-2009, 12:37 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

The use of 'Cfdisk' has been covered many times here on LQ. As for the partition scheme requirements for 'DSL', I suggest that you look at 'Damn Small Linux Community Wiki!!!'.

Once you have decided on your space allocation for the install then you can create the filesystem(s) on the drive. I know that the installer will probably provide you with the option. But it is better to create the filesystem(s) before hand to allow checking of the partition validity. This will aid you in deciding whether to continue or replace the hdd.

Even with Cfdisk I like to reboot to update the Kernel tables before the creation of a filesystem(s). Once you have the filesystems setup then continue by booting the install media.

The above link and others available from 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 08-12-2009, 11:38 AM   #5
ejames82
Member
 
Registered: Jun 2009
Posts: 110

Original Poster
Rep: Reputation: 15
@amani
i tried parted magic. i've used it before with success, but not this time. "no LBA mode", or something like that. your partition info was useful, however.

@onebuck
the link was helpful.

thanks for the replies. linux is great!
 
  


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
Can't see HDD on cfdisk during slackware installation palacinog Slackware - Installation 9 06-02-2009 02:47 PM
Cannot access my System HDD with cfdisk, during System is running from this disk an0r0c Debian 7 03-21-2009 05:46 AM
Can't enable Apt in hdd installed Damn Small Linux 4.2.5 Q.. Linux - Software 1 04-10-2008 05:35 PM
sda hdd isn't working but fdisk fstab and cfdisk look good to me. expat Linux - General 2 10-22-2006 09:00 AM
Small Linux for Cups/Web/FTP Server?? 635mb hdd and 200mhz processor Dimitriy Linux - Newbie 2 12-19-2005 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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