Partitions: Allow for separate data and additional root partions
My questions relates to: http://www.novell.com/coolsolutions/feature/11802.html This article discusses creating separate swap, root, and data partitions to allow for easier installation of a new linux distro, or the re-installation of the existing Linux distro, or trying out a beta version - without the need to backup and reinstall data files. All data files and emulators (such as vmware) would be in a separate partition of its own and could/would remain untouched during future installs. The above linked article shows two examples of partition table summaries: one with Windows installed on the hard drive and one without the installation of Windows. But in both cases, the article shows a swap partition, three Linux root partitions, and one data partition. In my case i reinstalled Windows XP in /dev/hda1, Linux swap in /dev/hda2, Linux native in /dev/hda3, and currently have an extended (FAT32) partition in /dev/hda4 of 40 GB in size. (I also have on Drive D another 80GB hard drive which I want to store some data that is not used currently as well as use it as one of my backups of Drive C Linux and Data. I can find no way to get an *additional three* partitions in /dev/hda/. I have tried Control Center -> YAST2 -> Partitioner as well as using the Install Disc to change Partitioning. Neither allows me to have more than three primary or extended partitions on one hard disk. Is there a way to create a logical partition on /dev/hda/? How? I have not seen any evidence of a way outside of using Partition Magic. And is Partition Magic usable in SuSE Pro 9.2? Would its creation allow an additional three partitions at some future date by some (unknown to me) method? Thank you guys for any help you may be able to provide. Andy
On Monday 04 April 2005 17:04, Andy Yankovich wrote:
My questions relates to: http://www.novell.com/coolsolutions/feature/11802.html
This article discusses creating separate swap, root, and data partitions to allow for easier installation of a new linux distro, or the re-installation of the existing Linux distro, or trying out a beta version - without the need to backup and reinstall data files. All data files and emulators (such as vmware) would be in a separate partition of its own and could/would remain untouched during future installs.
The above linked article shows two examples of partition table summaries: one with Windows installed on the hard drive and one without the installation of Windows. But in both cases, the article shows a swap partition, three Linux root partitions, and one data partition.
In my case i reinstalled Windows XP in /dev/hda1, Linux swap in /dev/hda2, Linux native in /dev/hda3, and currently have an extended (FAT32) partition in /dev/hda4 of 40 GB in size. (I also have on Drive D another 80GB hard drive which I want to store some data that is not used currently as well as use it as one of my backups of Drive C Linux and Data.
I can find no way to get an *additional three* partitions in /dev/hda/.
I have tried Control Center -> YAST2 -> Partitioner as well as using the Install Disc to change Partitioning. Neither allows me to have more than three primary or extended partitions on one hard disk.
Is there a way to create a logical partition on /dev/hda/? How? I have not seen any evidence of a way outside of using Partition Magic. And is Partition Magic usable in SuSE Pro 9.2? Would its creation allow an additional three partitions at some future date by some (unknown to me) method?
Thank you guys for any help you may be able to provide.
Andy Last sentence should read **four** partitions at some future....
On Apr 4, 2005 4:04 PM, Andy Yankovich
My questions relates to: http://www.novell.com/coolsolutions/feature/11802.html
This article discusses creating separate swap, root, and data partitions to allow for easier installation of a new linux distro, or the re-installation of the existing Linux distro, or trying out a beta version - without the need to backup and reinstall data files. All data files and emulators (such as vmware) would be in a separate partition of its own and could/would remain untouched during future installs.
The above linked article shows two examples of partition table summaries: one with Windows installed on the hard drive and one without the installation of Windows. But in both cases, the article shows a swap partition, three Linux root partitions, and one data partition.
In my case i reinstalled Windows XP in /dev/hda1, Linux swap in /dev/hda2, Linux native in /dev/hda3, and currently have an extended (FAT32) partition in /dev/hda4 of 40 GB in size. (I also have on Drive D another 80GB hard drive which I want to store some data that is not used currently as well as use it as one of my backups of Drive C Linux and Data.
I can find no way to get an *additional three* partitions in /dev/hda/.
I have tried Control Center -> YAST2 -> Partitioner as well as using the Install Disc to change Partitioning. Neither allows me to have more than three primary or extended partitions on one hard disk.
Is there a way to create a logical partition on /dev/hda/? How? I have not seen any evidence of a way outside of using Partition Magic. And is Partition Magic usable in SuSE Pro 9.2? Would its creation allow an additional three partitions at some future date by some (unknown to me) method?
Thank you guys for any help you may be able to provide.
Andy
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
You can not have more than 4 primary partitions. So your 4th partition have to be "extended". There is such an option in partitioner. And in it you can create logical drives (in windows terms). Sunny -- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
On Monday 04 April 2005 23:04, Andy Yankovich wrote:
My questions relates to: http://www.novell.com/coolsolutions/feature/11802.html
This article discusses creating separate swap, root, and data partitions to allow for easier installation of a new linux distro, or the re-installation of the existing Linux distro, or trying out a beta version - without the need to backup and reinstall data files. All data files and emulators (such as vmware) would be in a separate partition of its own and could/would remain untouched during future installs.
The above linked article shows two examples of partition table summaries: one with Windows installed on the hard drive and one without the installation of Windows. But in both cases, the article shows a swap partition, three Linux root partitions, and one data partition.
In my case i reinstalled Windows XP in /dev/hda1, Linux swap in /dev/hda2, Linux native in /dev/hda3, and currently have an extended (FAT32) partition in /dev/hda4 of 40 GB in size. (I also have on Drive D another 80GB hard drive which I want to store some data that is not used currently as well as use it as one of my backups of Drive C Linux and Data.
I can find no way to get an *additional three* partitions in /dev/hda/.
I have tried Control Center -> YAST2 -> Partitioner as well as using the Install Disc to change Partitioning. Neither allows me to have more than three primary or extended partitions on one hard disk.
Is there a way to create a logical partition on /dev/hda/? How? I have not seen any evidence of a way outside of using Partition Magic. And is Partition Magic usable in SuSE Pro 9.2? Would its creation allow an additional three partitions at some future date by some (unknown to me) method?
Thank you guys for any help you may be able to provide.
The partition table of a hard drive contains 4 entries. These are the primary partitions. You can only ever have 4 primary partitions. However, one of these can be an extended partition, and inside this you can have multiple, so called logical, partitions. You said you had hda4 as an extended partition, but then you said it was FAT32. This doesn't make sense, since an extended partition doesn't contain a file system, it just contains other partitions. So is your extended partition really not an extended partition? If it were, YaST would offer you the possibility to create logical partitions inside it, assuming there is free disk space left that hasn't already been used in a partition. If it isn't, you will need to delete it and create an extended partition. If you have data on it now, with free space after it that you want to use, don't worry. Just remember exactly where it starts and ends, then you can create a logical partition with exactly the same values, and you should see your data again. But of course a backup is the safe and wise option before you do it. When you mess with partitions, you never can tell what might go wrong, no matter what tool you use
Andy Yankovich wrote:
My questions relates to: http://www.novell.com/coolsolutions/feature/11802.html
This article discusses creating separate swap, root, and data partitions to allow for easier installation of a new linux distro, or the re-installation of the existing Linux distro, or trying out a beta version - without the need to backup and reinstall data files. All data files and emulators (such as vmware) would be in a separate partition of its own and could/would remain untouched during future installs.
The above linked article shows two examples of partition table summaries: one with Windows installed on the hard drive and one without the installation of Windows. But in both cases, the article shows a swap partition, three Linux root partitions, and one data partition.
In my case i reinstalled Windows XP in /dev/hda1, Linux swap in /dev/hda2, Linux native in /dev/hda3, and currently have an extended (FAT32) partition in /dev/hda4 of 40 GB in size. (I also
This is simply not possible. Your FAT32 must either be a logical, in which case it is not /dev/hda4, but most likely /dev/hda5, or your FAT32 is a primary, the only type of partition that can be /dev/hda4.
have on Drive D another 80GB hard drive which I want to store some data that is not used currently as well as use it as one of my backups of Drive C Linux and Data.
I can find no way to get an *additional three* partitions in /dev/hda/.
To do that requires reallocating space that is currently allocated.
I have tried Control Center -> YAST2 -> Partitioner as well as using the Install Disc to change Partitioning. Neither allows me to have more than three primary or extended partitions on one hard disk.
Is there a way to create a logical partition on /dev/hda/? How? I have not seen any evidence of a way outside of using Partition Magic. And is Partition Magic usable in SuSE Pro 9.2? Would its creation allow an additional three partitions at some future date by some (unknown to me) method?
You apparently have a rather unusual disk partitioning scheme. That is, you appear to have 4 primary partitions. Only 4 primary partitions are allowed. In order to have any logical partitions, an extended partition must be one of the 4 primaries. Since your disk is fully allocated now, something will have to go in order to create the extended and logical. What needs to be done is open to interpretation, but one possibility relates to your /dev/hda4, or /dev/hda5 if that is really what your FAT32 data partition is. If it is a primary, it must be converted into a logical, changing it from hda4 to hd>4. Several partitioning tools can do this. Once it is a logical, then it needs to be shrunk to free up space for new partitions, leaving you an arrangement something like in section 2.5 of the URL you cited above, or alternatively something like that found at http://lists.suse.com/archive/suse-linux-e/2005-Mar/3043.html. Once the freespace is available, you just need to create the desired combination of new partitions, then procede with your original plan. An alternative method, since you have a 2nd disk, is to backup the content of your FAT32 partition to your other disk, delete the partition that data was on, then repartition the freespace left by its deletion. For multibooting & partitioning generally, see: http://members.ij.net/mrmazda/partitioningindex.html For a handy selection of tools in one place, see: http://www.ultimatebootcd.com/ The multiplatform partition tool I use can be found at: http://www.dfsee.com/dfsee.htm -- "Love your neighbor as yourself." Matthew 22:39 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
On Monday 04 April 2005 18:50, Felix Miata wrote:
What needs to be done is open to interpretation, but one possibility relates to your /dev/hda4, or /dev/hda5 if that is really what your FAT32 data partition is. If it is a primary, it must be converted into a logical, changing it from hda4 to hd>4. Several partitioning tools can do this. Once it is a logical, then it needs to be shrunk to free up space for new partitions, leaving you an arrangement something like in section 2.5 of the URL you cited above, or alternatively something like that found at http://lists.suse.com/archive/suse-linux-e/2005-Mar/3043.html. Once the freespace is available, you just need to create the desired combination of new partitions, then procede with your original plan.
An alternative method, since you have a 2nd disk, is to backup the content of your FAT32 partition to your other disk, delete the partition that data was on, then repartition the freespace left by its deletion.
Felix Miata *** http://members.ij.net/mrmazda/
Thanks, brother, You are right. The FAT32 partition was on my /dev/hdb. It was for the intended backup of Linux that I DID NOT make. I got really mixed up before and while I wrote my post. So mixed up I think I lost everything of Linux I had. I think it previously was on /dev/hda3 but i am not certain of anything anymore. Here is what now exists: andy@linux:~> su Password: linux:/home/andy # fdisk -l Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 2621 21053151 7 HPFS/NTFS /dev/hda2 2622 2882 2096482+ 82 Linux swap / Solaris /dev/hda3 2883 5493 20972857+ 83 Linux /dev/hda4 5494 9729 34025670 f W95 Ext'd (LBA) /dev/hda5 5494 6798 10482381 83 Linux /dev/hda6 6799 9729 23543226 83 Linux Disk /dev/hdb: 80.0 GB, 80000040960 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 3917 31458068 7 HPFS/NTFS /dev/hdb2 3918 7180 26210047+ 83 Linux /dev/hdb3 7181 9726 20450745 f W95 Ext'd (LBA) /dev/hdb5 7181 7308 1028128+ 82 Linux swap / Solaris /dev/hdb6 7309 9726 19422553+ 83 Linux linux:/home/andy # I reinstalled once again and somehow I got (i think) SuSE Pro 9.2 on /dev/hdb6. I cannot explain how or either the references to *Solaris*. During the reinstall I *thought* the install was to /dev/hda6. In fact, I honestly think it did read that. Is there anyway I can look at /dev/hda3 and see if Linux 9.2 or -more importantly- my data files and email are still there? I'd like to look at /dev/hda2 thru 8 to see what's there. As you might tell (grin, big grin) I am a one month old newbie on Linux. So, If wou would, please explain in basic terminology, step by step. What I just messed up is WHY I tried to partition according to that Novell Coolsolutions article. I hope you or someone can help. Blessings, Andy
andyyank@tampabay.rr.com wrote:
Here is what now exists:
andy@linux:~> su Password: linux:/home/andy # fdisk -l
<snip>
What is your /etc/fstab? That is at least as relevant to this discussion as the partition data.
Andy Yankovich wrote:
My questions relates to: http://www.novell.com/coolsolutions/feature/11802.html
This article discusses creating separate swap, root, and data partitions to allow for easier installation of a new linux distro, or the re-installation of the existing Linux distro, or trying out a beta version - without the need to backup and reinstall data files. All data files and emulators (such as vmware) would be in a separate partition of its own and could/would remain untouched during future installs.
The above linked article shows two examples of partition table summaries: one with Windows installed on the hard drive and one without the installation of Windows. But in both cases, the article shows a swap partition, three Linux root partitions, and one data partition.
In my case i reinstalled Windows XP in /dev/hda1, Linux swap in /dev/hda2, Linux native in /dev/hda3, and currently have an extended (FAT32) partition in /dev/hda4 of 40 GB in size. (I also have on Drive D another 80GB hard drive which I want to store some data that is not used currently as well as use it as one of my backups of Drive C Linux and Data.
I can find no way to get an *additional three* partitions in /dev/hda/.
I have tried Control Center -> YAST2 -> Partitioner as well as using the Install Disc to change Partitioning. Neither allows me to have more than three primary or extended partitions on one hard disk.
Is there a way to create a logical partition on /dev/hda/? How? I have not seen any evidence of a way outside of using Partition Magic. And is Partition Magic usable in SuSE Pro 9.2? Would its creation allow an additional three partitions at some future date by some (unknown to me) method?
Thank you guys for any help you may be able to provide.
You can have no more than 4 primary partitions, of which one can be an extended partition. Logical partitions are all created in that one extended partition. If you want to add more partition, that's where they have to go, unless you add another drive.
participants (7)
-
Anders Johansson
-
Andy Yankovich
-
andyyank@tampabay.rr.com
-
Darryl Gregorash
-
Felix Miata
-
James Knott
-
Sunny