SlackwareThis Forum is for the discussion of Slackware Linux.
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.
on a first step, try to write the output of fdisk -l on paper.
Because :
As I see, you have deleted partitions yet (partition number hda3 and hda4 are missing)
so when you will remove/add partition, fdisk will renumber partitions so you need the sectors numbers to refer to your partition because /dev/hda5 for example may become /dev/hda4.
Example :
/dev/hda5 914 1816 7253316 b W95 FAT32
1st sector number : 914
2nd sector number : 1816
if /dev/hda5 becomes /dev/hda4, it will be
/dev/hda4 914 1816 7253316 b W95 FAT32
But you will know it is your old hda5 partition by looking at the first and the second sector number and have these informations for reference in paper . Do you understand that ?
After the change in the partition table, you have to check up your drive with ' /sbin/fdisk -l' and compare it with your paper then change /etc/fstab accordingly, it has to be done because if /boot or / partitions have changed, you will not able to boot in your system.
1 as far as i know: partitions are numbered as follows
nrs 1, 2, 3, 4 are for primary or extended part's ( max=4 pri or 3 pri & 1 ext. )
nrs 5, 6 ......ect are for logical stations inside an extended part.
as i see the output of fdisk -l, your disk is all used by partitions.
1 solution is to clear hda7 and split it in hda7 and hda8 ( one of them beeing the new 1 Gb. part. )
all you data will be lost and you have to install RedHat as well.......?
a lot of work.!!
2 solution could be: there are programs to shrink partitions ( dont know names or links,never used them. ) in your case i would give it a try. think you can find such a utility with google
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.