Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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!
@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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.