Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > Soon to be Linux user with slightly advanced questions

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-13-2009   #11 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Quote:
Originally Posted by pmacdonald View Post
So it looks like I'll be running just the version of Vista the laptop comes with, a version of Linux, and then a place for another Linux that can be easily swapped out for tinkering.

The only thing I need to know still is how to partition my drives correctly. I have one HDD and it's 500GB.
If you don't want to erase and reinstall windows you will need to resize the windows partition to make some room for linux. There are programs that can do that. However, and in any case, save a backup if you value your data.

Once you have the room for linux, you just need to create at least one partition for each linux you want to install. It doesn't matter if it's a primary partition or a logical drive inside an extended one. Linux doesn't care about that. One partition is the bare minimum, you can however do more complicated setups but for the time being just one will do the job. You can as well allocate a partition for swap, though it's not strictly needed (you can set up a file to be used as swap space).
i92guboj is offline  


Reply With Quote
Old 07-13-2009   #12 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 9
How should I backup my data? (I have a backup drive created from when I first set up the computer [E: Drive]...should I use that?)

Does vista come with a resizing tool?

My backup drive counts a primary partition correct?

After I resize vista can't I just run the Linux installation and set up the other drive from in there?

Thanks for the help thus far.
pmacdonald is offline   Reply With Quote
Old 07-13-2009   #13 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Quote:
Originally Posted by pmacdonald View Post
How should I backup my data? (I have a backup drive created from when I first set up the computer [E: Drive]...should I use that?)
You can use whatever you want, but when possible, a separate media that's not physically attached to the box is preferred. That way, you won't screw up something if you choose the wrong disk when partitioning.

Quote:
Does vista come with a resizing tool?
So it seems, I never used it, so I have no idea how complete it is, I just found this:

Resize a Partition for Free in Windows Vista :: the How-To Geek

Quote:
My backup drive counts a primary partition correct?
The backup drive layout is independent of the layout of your first and main drive where the OS will live. It really doesn't matter whether it contains a primary or extended partition, since it's just a place to store data.

Quote:
After I resize vista can't I just run the Linux installation and set up the other drive from in there?
The usual way to install linux is to boot the installation disk and install from there. There are some distros that might have a windows installer, but I personally never tested those, and I can't give you names right now.
i92guboj is offline   Reply With Quote
Old 07-13-2009   #14 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 9
I'll head over to the store tomorrow to pick up some CD's to back up my data.

Thanks for that link and it answered my question about wheather it was a primary drive or not (it is).

I'm still not sure about the following though:
  • Do I create a primary partition before entering the Linux CD into my CD-ROM drive?

  • How should I set up my HDD partitions as far as swap space and the other Linux install is concerned (the tinkering Linux)?
pmacdonald is offline   Reply With Quote
Old 07-13-2009   #15 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Quote:
Originally Posted by pmacdonald View Post
Do I create a primary partition before entering the Linux CD into my CD-ROM drive?
You just need to have free space, the installer usually allows you to create, delete and set up partitions. However, if you want, you can create them before entering the installer, it doesn't harm either. Both ways are ok.

Quote:
How should I set up my HDD partitions as far as swap space and the other Linux install is concerned (the tinkering Linux)?
Each one has his preferences here. But what I'd do is this:
  • shrink the windows partition, that is a primary partition, no need to care about that one
  • create an extended partition with all the free space
  • inside the extended partition, create as much logical drives as linux versions you want to install + 1 for swap, the swap partition can be shared between all the distros, and it's size would be usually between 512 mb and the size of your ram (if you want to use hibernation and things like that)

The size of the each partition will only depend on what do you plan to install.
i92guboj is offline   Reply With Quote
Old 07-13-2009   #16 (permalink)
Linux Newbie
 
Join Date: May 2009
Posts: 129
Quote:
Originally Posted by pmacdonald View Post
So it looks like I'll be running just the version of Vista the laptop comes with, a version of Linux, and then a place for another Linux that can be easily swapped out for tinkering.
As I don't like Vista I inform myself at the productors page which drivers are available for the PC I am interested to buy. So I can downgrade to XP withous problems.

Quote:
Originally Posted by pmacdonald View Post
The only thing I need to know still is how to partition my drives correctly. I have one HDD and it's 500GB.
As you plan to use Ubuntu you can use the CD as a Live CD.
It contains also a program called GParted.
Sure it is allways recommended to save data but if your PC/Laptop is brand new there will not be much data that can be lost - so forget it.
  • You should start into Windows and defragmentate your partition.
  • Start into LiveCD
  • Start GParted
  • reduce the Windows-partition lets say to 50GB
  • create a Primary-partition at the end of the free space lets say 1 GB to be formatted later with Linux-swap
  • create an extended Primary-partition for all the space left in between.
  • into the new partition create as many virtual (logical) Partitions as you want. => e.g.
    one for data (ntfs formatted to have access from Windows and from Linux) and at least
    one per each Linux distro you want to have on your PC (formatted ext3)
  • press apply so that the partitions are created and formatted



Quote:
Originally Posted by i92guboj View Post
If you don't want to erase and reinstall windows you will need to resize the windows partition to make some room for linux. There are programs that can do that. However, and in any case, save a backup if you value your data.
The most used is the Linux program GParted

Quote:
Originally Posted by i92guboj View Post
Once you have the room for linux, you just need to create at least one partition for each linux you want to install. It doesn't matter if it's a primary partition or a logical drive inside an extended one. Linux doesn't care about that. One partition is the bare minimum, you can however do more complicated setups but for the time being just one will do the job. You can as well allocate a partition for swap, though it's not strictly needed (you can set up a file to be used as swap space).
Best way is to have a swap-partition as a primary one ( this is the traditional way and all Linuxes can work with that) even if UBUNTU and also some others can do also with a logical swap-partition it is not to be recommended.
__________________
computerophil.at
computerophil is offline   Reply With Quote
Old 07-13-2009   #17 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
*Any* linux can work with a logical drive, it's not a distro thing, it's something that's handled directly by the kernel and the basic gnu tools (mount). Same applies to a loopback fs contained within a file for swap. There's no downside in doing so either nowadays. Swap files are not threated like normal files, and there's no performance penalty in using such scheme, unless you are having some nasty fragmentation problem.

But don't take my word on it, you can read Andrew Morton's words on the issue.

LKML: Andrew Morton: Re: Swap partition vs swap file

The files used for swap are not threated like normal files, all the i/o is done directly, bypassing the fs. It is referenced based on offsets that are computed when adding the swap to the virtual memory pool. In that regard, it's *exactly* the same if you use a file, a primary partition or a logical drive. Linux doesn't care at all, it's just an offset from the starting of the disk, nothing else.
i92guboj is offline   Reply With Quote
Old 07-13-2009   #18 (permalink)
Linux Newbie
 
Join Date: May 2009
Posts: 129
Quote:
Originally Posted by i92guboj View Post
*Any* linux can work with a logical drive, ...
You are right any distro can handle a logical drive but not all can handle a swap-partition in a logical drive.
__________________
computerophil.at
computerophil is offline   Reply With Quote
Old 07-13-2009   #19 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
I respectfully disagree

All you need is a line on your fstab file to add the swap partition. Of course, you also need support for loopback fs's, again, it's a kernel thing. You can use the feature on any distro as long as your kernel is correctly configured.
i92guboj is offline   Reply With Quote
Old 07-13-2009   #20 (permalink)
Linux Newbie
 
Join Date: May 2009
Posts: 129
Quote:
Originally Posted by i92guboj View Post
I respectfully disagree

All you need is a line on your fstab file to add the swap partition. Of course, you also need support for loopback fs's, again, it's a kernel thing. You can use the feature on any distro as long as your kernel is correctly configured.
OK - we both have different opinions and expirence.
I also said from beginning that Ubuntu can do it ( but I don't reccommend it)
I think best way always is to keep to the traditional methods. These are most reliable. So it would be good if you can except this. Otherwise a discussion would lead us to far away from the theme of the thread and newcomers would be extremely confused.

This way (even if there exist various ways and methods) to tell a newbie what to do - step by step - is easier to intend and therfor a better help.
__________________
computerophil.at
computerophil is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:10 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2