It is currently Sat May 18, 2013 12:32 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: partition worries
PostPosted: Wed Aug 15, 2007 1:25 pm 
Zenwalker
Zenwalker

Joined: Wed Aug 15, 2007 12:54 pm
Posts: 2
Hi

Newbie to all things Linux.  I have XP installed on my hard drive (a single partition/volume).  I wish to install ZenWalk but am wary of wiping off XP!  I fear this is what auto partition will do.  How do I install ZenWalk using the manual partition option?  The ZenWalk manual does not explain this.  Do I use fdisk and how?  I really do not want to erase windows just now!

Many thanks.


 Profile Send private message  
 
 Post subject: Re: partition worries
PostPosted: Wed Aug 15, 2007 1:52 pm 

Yes, you are right, autopartition will wipe your hard drive.

You should first create some empty space on your hardrive by resizing your windows partition. This can't be done with the Zenwalk installation CD but can be done with the Zenwalk LiveCD or the gparted LiveCD using gparted.

If you create some empty space then you can do manual partitioning while installing zenwalk and never touch your windows partition.

If you don't understand something, just ask.  :)


  
 
 Post subject: Re: partition worries
PostPosted: Wed Aug 15, 2007 2:22 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu May 03, 2007 8:58 pm
Posts: 85
Or much easyer and more secure would be to add another hardrive to the system and install Zenwalk on it ;) But you'd still have to manually partition. And tell the installer to mount partitions from the new drive.


 Profile Send private message  
 
 Post subject: Re: partition worries
PostPosted: Wed Aug 15, 2007 2:33 pm 
Master Zenwalker
Master Zenwalker
User avatar

Joined: Fri Feb 09, 2007 8:40 pm
Posts: 529
Location: Romania
The first time I installed linux I made the partitions from windows using partition magic but there are also freeware solutions (I think)


 Profile Send private message  
 
 Post subject: Re: partition worries
PostPosted: Wed Aug 15, 2007 4:26 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Sun Aug 12, 2007 9:27 pm
Posts: 17
Are there some specific instructions for the manual partition option?  I too am having the same problem.  I have 3 partitions with 2 different Linux distros installed, 1 empty partition and have unpartitioned space available.  DoI created the partitions using Gparted and am quite comfortable with using Gparted.

Here are my partitions (ALL on the same hard drive):
/dev/hda1   ext3     9.82 GB
/dev/hda3   ext3   19.61 GB   boot ------> I want to keep this as boot
/dev/hda4   ext3   14.70 GB   ------> I want Zenwalk to get installed on this partition
and there is some unpartitioned space

dev/hda2                      extended                 5.22 GB
       dev/hda6               linux-swap               2.14 GB
       dev/hda5               linux-swap               3.08 GB

I know that Ubuntu is on hda1(which I will wipe IF the Zenwalk installation goes successfully) and Xubuntu is on hda3(which I want to keep)
Also, judging from their sizes, hda6 might be connected with Xubuntu since it is smaller than Ubuntu just like the space taken up by the OS is smaller for Xubuntu than for Ubuntu.  So hda5 would be associated with Ubuntu.

Do I have to select Target Partitions?  And what do I select for the Swap partitions?  When I go to select target partition, the first screen shows me the 2 swap partitions and asks for me to select one or keep the defaulty which is BOTH.  BOTH is a bit scary for me!!!!  If I incorrectly select all the available Swap partitions, could my other Operating systems be wiped out?  Why doesn't it just create a new swap partition for Zenwalk?

I've got a previously unsuccessful LILO installation to ALSO worry about(which I have discussed in another thread in the 'Problems' forum) once I get past this step so I am really frustrated that this step is taking me so long.

If you need me to provide you with some further information, let me know.  Your help would be greatly appreciated.


Last edited by MarkT on Wed Aug 15, 2007 5:27 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: partition worries
PostPosted: Wed Aug 15, 2007 9:24 pm 
Master Zenwalker
Master Zenwalker
User avatar

Joined: Fri Feb 09, 2007 8:40 pm
Posts: 529
Location: Romania
Here is my current configuration on a 80GB hdd:
Quote:
$fdisk -l /dev/sda

Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        653    5245191    7  HPFS/NTFS
/dev/sda2            654        9729    72902970    5  Extended
/dev/sda5            654        1110    3670821  83  Linux
/dev/sda6            1111        2415    10482381  83  Linux
/dev/sda7            2416        2807    3148708+  83  Linux
/dev/sda8            2808        2872      522081  82  Linux swap / Solaris
/dev/sda9            2873        9007    49279356  83  Linux
/dev/sda10          9008        9729    5799433+  83  Linux

sda1 - windows (I might need it. Better safe than sorry) - primary + boot
sda2 - extended
    sda5 - / for first linux distro
    sda6 - /home for first linux distro
    sda7 - / for second linux distro
    sda8 - swap for both of them. I can't run them at the same time so no problem
    sda9 - storage
    sda10 - storage

I have another hdd sdb with a swap partition (deprecated, will be removed) and when installing it asked to choose swap partitions and I just deselected (space key) the one I don't want and left just one. If you rewrite a swap partition it doesn't wipe the OS so don't worry (even thow I don't know how it manages running with 2 swap partitions)

BTW, why do you have 2 swap partitions? Even if you are running more than one linux distro 1 swap partition is enough. And 5.22 GB for swap ?!? :o I have 509MB and I never use more than 20MB (I have 384 MB RAM).


 Profile Send private message  
 
 Post subject: Re: partition worries
PostPosted: Wed Aug 15, 2007 10:04 pm 

Yes, a single swap partition for all distros should be absolutely fine.  ;)


  
 
 Post subject: Re: partition worries
PostPosted: Thu Aug 16, 2007 12:20 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu May 03, 2007 8:58 pm
Posts: 85
MarkT wrote:
...

Well I am not a guru but I think you are mixing partitioning with mounting. I mean if you say you have
Quote:
/dev/hda1  ext3    9.82 GB
/dev/hda3  ext3  19.61 GB  boot ------> I want to keep this as boot
/dev/hda4  ext3  14.70 GB  ------> I want Zenwalk to get installed on this partition
/dev/hda2
extended                5.22 GB
      dev/hda6              linux-swap              2.14 GB
      dev/hda5              linux-swap              3.08 GB

that shows that the disk IS partitioned. /dev/hda2 IS partitioned and it cannot be mounted because it is an extended one: it is a container for other (sub)partitions: /dev/hda5 and /dev/hda6. Those cannot be mounted (into the normal file system - that is) because they are swap partitions. But again that does not mean the are not partitioned.

(In order to make a part of the disk to be usable you have to do 2 things:
1. partition the disk (HDD)
2. tell the OS through with path of the fs (file system) the partitions will be reached.)

I think that you do not need to have 2 swap partitions. I don't see why you have 2 of them. I'd say one of them could serve any number of distro you may have on a computer. But I think your partitions are very strange: I have never seen an extended partition between primary partitions :-? I didn't even think this is possible huh.

In theory there are two possibilities:
- one uses 4 or less partitions and all of those can (should) be primary partitions;
- one uses more than 4 partitions in which case the first 3 should be primary partitions and the last should be an extended partition: the last (extended) one can than be divided (partitioned) further into (sub) partitions.

Also - no matter what of the above you choose - it is recommended (by others/some) that the first primary partition to be the swap partition and the second to be the boot partition. After that it is a matter of personal preference (not that the first two cannot be). I think this is the way Zenwalk divides (partitions) too when set to automatic: first swap partition, than boot partition than home partition.

Finally, to give the answer to your question, when you set up Zenwalk all you have to do is to tell it to use /dev/hda5 or /dev/hda6 as swap partitions and /dev/hda4 as the root partition (mounted in "/"). That's all. I see no problems here. You don't need any kind of partitioning.
Another clarification: partitioning with tools or manually is the same thing. The difference is in the ease not in the result or the process.
I would also avoid using extended partitions: if the partition table is screwed the possibility to recover sub-partitions is lower than to recover primary partitions (I think). At least in your case the partitions on the extended partition don't contain data grin.

I would re-partition the whole disk in one of the two ways shown above grin. But that of course is a lot of work, and you may have better use for that time and effort. Again, you could have one swap partition (= ~ 3 x physical RAM) used by all distros you ma have installed. in fact you may also have a common home partition for all distros. That way you could share user data between different distros. But be warned that could also lead to numerous problems :(


 Profile Send private message  
 
 Post subject: Re: partition worries
PostPosted: Thu Aug 16, 2007 2:09 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Fri Jun 01, 2007 10:03 pm
Posts: 42
Location: Portugal
I had the same problem with partitions. Not that i don't understand the tools and concepts of partitioning hard drives. I had the same question, but had the tools (internet) to find the answers.

There is no guide for people who already have another operating system on their hard drive. The Zenwalk manual, has the principle that a person has a computer with no other operating system and ready to receive a Zenwalk installation. That's no good. If a windows user wants to install Zenwalk, will always come to the same questions.

Further more, I think there should be help during installation. Explaining the most common questions that newbies have. What happens to the people who have no way to ask those questions? There it goes, the Zenwalk copy they got from a friend will be put a side, because the most basic and common questions where not given with the distribution.  :(


 Profile Send private message  
 
 Post subject: Re: partition worries
PostPosted: Thu Aug 16, 2007 5:52 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu May 03, 2007 8:58 pm
Posts: 85
The lack of documentation is due to the fact that there is no str8forward universally valid answer to such situations :(.
The problem with putting Zenwalk besides Windows generally is that mostly Windows occupies the whole HDD. And there is no secure and easy way to correct that :( Of course there are professional or less professional tools to resize the Windows partition to be smaller but such operations will always carry some risk :(. The easiest way is to get a hold of an additional HDD, copy over any data that you want to not loose (want to back up), than re-partition the original HDD so that this time you will use only part of it for Windows. Than install Windows. Than set up Zenwalk on partitions created on the spare space left after installing Windows. I think that is the safest way around. So only one primary partition for Windows (no matter how large or small) and the rest for Zenwalk. Partition the Windows part with Windows partitioning tools and continue the Zenwalk part with Linux tools.


Last edited by Pok on Thu Aug 16, 2007 5:54 pm, edited 1 time in total.

 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: