Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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 want to install RH9.0 in the /dev/hda6 partition... So please let me know how I can format this and how much I should be giving for
1. /
2. /swp
3. /home
and what other folders I should create. Also let me know what filesystem I should choose for each of these...
In another system which has both win2k and RH8.0 the /etc/fstab file looks as follows:
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418
Rep:
I believe RH9 has a fine GUI partitioner to do the "hard" work for you.
But with DiskDruid it shouldn't be too hard either...
For the partitions you want to create, and what size they are, that really depends on your system-requirements.
Where do you use the most diskspace? What is your critical data? Are you going to setup an environment where users can store their data? Planning on running an FTP server? Webserver ?
All this will influence the way you would want to setup your partitions.
If you just want to freak around a bit on this linux-box, and you will be the only user on it, there's no need to do hard work on partitioning. I usually create a /boot partition of 100MB and a swap partition a bit more then my RAM. (Although I read somewhere that even that is not really needed, bout 70MB should be enough, but, I'm no expert) and configure the rest as / But this is only on a machine where I am the only user, and i just freak around a bit.
If you plan to run as a server for users (ftp or just network-server) then you should split the home folders-partition from your system-partition. (Imagine some crazy user consuming all your diskspace, and your system is on the same partition, then your system will crash due to the disk being full, especially when you run an ftp-server with anonymous write access, this is not an uncommon problem)
So, as you can see, there are several ways to partition your disk, and everyone has his/her own flavour.
Well, I have 256MB RAM, so I would like to create swap of abt 512MB.
After reading from RH9.0 installation from redhat.com, I understand that I need to create /boot, / and /home directories...
I don't know the file format in which these should be fit... and how much space I should give...
I dont intend to install any server on this system... It will be used as a stand alone, I intend to do my programmingand use it to browse the internet.
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418
Rep:
In that case, IMHO a /boot of 100MB a swap of (i.e.) 512 and the rest for your root partition would do it... why bother creating a lot of partitions then?
If you want Red Hat 9 somewhere on the end of your drive you shouldn't partition that section in advance with Win2k - the idea is to use Win2k just to partition the first 2 partitions you want ie C, D
Then leave the rest of the drive as FREE SPACE - then when you install Red Hat 9 - choose the Custom install option and install in the existing free space
By default Red Hat 9 will create a Boot, Root and Swap partition - technically you only need a Root and Swap partition - Red Hat is clever enough that if it see's there's no boot partition - it will install the relevent kernel in the boot directory of the root partition.
I personally find it easiest to let Red Hat automatically install in the existing free space then Manually edit the partitions that Red Hat has created - ie deleting, resizing adding to etc
For the Red Hat Root partition you want to format an ext3 filesystem on it - for the Swap partition its obviously "Swap"
If you really did want to go with a boot, root,swap and home partition then these sizes would be sufficient
boot = 100mb
root = 8gb
swap = 500mb
home = 10gb
(depending on what you want to use it for)
You can get a nice Red Hat 9 installation for about 1.5 - 2gb
Well, I have not been able to partition the 56GB HDD with diskdruid. So I have opted to install partition magic and format the drive into Linux Ext2 filesystem...
As soon as thath is over I would reboot with my RH9.0 CD-1 and try to partition into /sqap, /boot, /, and /home..
but what file systems should I choose for each iof these?
Hi Skyline,
I didn't know that I need to partition the whole HD into 2 parts only... I have made it into 3 parts and have installed win2k in C:, and have my data/music files in D:.
Now I am left with E: only where I would like to install Linux. So does this mean that I would not be able to do that... Do I have to combine C and D using some software like partition magic ...
I have just completed combining C and D into C of size 20GB.
Now I have 60GB of free space with me and the diskdruid table looks as follows:
[code]
Hard Drives:
/dev/hda
Free Freespace <1 1 1
/dev/hda1 vfat 19995 1 2549
/dev/hda2 Extended 56314 2550 9728
Free Free space 56314 2550 9728
Free Free Space 10 9729 9730
I want to install Linux into /dev/hda2, which is 56GB and is of extended format and I don;t know if I have partitioned that space or not...
There are New, Edit, Delete, Reset etc buttons on the diskdruid screen... I dont know how to divide the whole 56GB space into parts and allot for swap, root, boot and home...
I would first delete the Extended partition.
And for some reason, you have a 1 MB of free space at the beginning of the HD, I don't know way that is.
May want to merge that into the vfat ( win2k ).
During the installation of RedHat, right after you select the Installation Type,
there is the Disk Partitioning Setup with two options. Select the Automatically Partition option.
Then it is Automatic Partitioning. Make sure the checkbox Review (and modify if needed) the partitons created is checked.
RedHat will created partitions in ext3 based on the Installation Type you selected.
As I said before - you only need to use Win2k's fdisk utility to create partitions for Win2k to go on - you DON'T need to use Win2k's fdisk utility to set up a partition in advance for Red Hat to go on - Red Hat has partitioning tools bult into its anaconda installer - just let Red Hat partition the existing free space on the end of your drive and let it install itself on - As I said before - with a custom install you can always manually edit any partitions that Red Hat creates for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.