LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2009, 06:11 AM   #1
ggerri
LQ Newbie
 
Registered: Apr 2009
Location: Switzerland
Distribution: Ubuntu 10.04/9.10
Posts: 15

Rep: Reputation: 0
Cool clean PC from XP - install Ubuntu (XP as Virtual) - 3 discs - how to partition?


Hi there :-)

sick of MS, I've decided to convert my XP Desktop to Ubuntu 8.10
As I still have some Windows programs I want to run (Adobe CS4), but dont want DualBoot, I'd like to run XP in as a virtual machine.

I have 3 disks. Under XP 250GB (C: + D:) 500GB (E:) 70GB (F:)

After backing up all my personal files, I'd like to make a clean Ubuntu install, formatting all with ext3 (that would be the right file system, right? ;-)


Question 1: what partitions would be best practice?

I've found this interesting article, http://www.overclock.net/linux-unix/...ing-guide.html which states:

PRIMARY - Linux /Boot - EXT3 - 2% (200mb is fine)
PRIMARY - Linux / - EXT3 - 10% (3gb minimum in most cases)
PRIMARY - Linux SWAP - Linux SWAP - 2%
EXTENDED
LOGICAL - Linux /TMP - EXT3 - 5%
LOGICAL - Linux /VAR - EXT3 - 10%
LOGICAL - Linux /HOME - EXT3 - 71%

for a solo Linux system. What's your experience and opinion?

This would be for a single disk system I guess.

Question 2: How would that list look considering all 3 disks?

Question 3: As an absolute beginner. After inserting the Live CD, Ubuntu will come up with this 'Prepare disk space' wizzard. What do I do next to get all disks formatted ext3 and have the 'best practice' partitons created and properly mounted?

Question 4: Running a Windows XP as a virtual machine. Would that work on a ext3 disk? I know there are tools for XP to enable it to read/write ext3 right, but would it run itself properly in that virtual machine (any product suggestions here? :-)

Thanks a lot guys and girls :-)
Gerald
 
Old 04-02-2009, 11:45 PM   #2
Recursion
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Rep: Reputation: 17
Once you have backed up all of your data, insert the Ubuntu Disk. Follow through the installation. When you get to the partition manager, choose the entire disk option on the disk you want to install on. Ubuntu will do the rest for you.

As fopr the virtual machine, I recommend you use VirtualBox. When you are in VirtualBox you create a virtual file that acts as a partition, and that file will contain inside of it a NTFS or FAT/32 partition, in which you can they install XP, Vista or any other NT or 9X OS.
 
Old 04-04-2009, 12:20 PM   #3
ggerri
LQ Newbie
 
Registered: Apr 2009
Location: Switzerland
Distribution: Ubuntu 10.04/9.10
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks Recursion

Hmm, so you would suggest to have all data - system and personal - on the same partition? That's been a no no for me in the MS world i've been living until now , so it just makes me a bit insecure.

OK, will try it

About the partition manager: OK I go for 'use entire disk'. So that would already make sure, that all Windows-leftovers (MBR..) would be cleaned and the disk would be reformatted ext3?

How can I have the other 2 discs also cleaned and reformatted ext3? Can I instruct the partition manager to do that or would you do that after ubuntu is up and running?

Thanks for the info about VirtualBox. Will try that out :-)

Regards
Gerald
 
Old 04-04-2009, 04:26 PM   #4
synss
Member
 
Registered: Jul 2007
Location: Germany
Distribution: Debian, Gentoo, Mac OS X
Posts: 137

Rep: Reputation: 22
Quote:
Originally Posted by ggerri View Post
How can I have the other 2 discs also cleaned and reformatted ext3? Can I instruct the partition manager to do that or would you do that after ubuntu is up and running?
Hello, you can format them later, when you have your system running. There is no need for a complex partition layout in your case of a single computer running a single distro.
 
Old 04-04-2009, 10:46 PM   #5
Recursion
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Rep: Reputation: 17
All Unix based files systems have a very similar Filesystem Hierarchy. Im sure you have seen it before, it goes as follows.

/
/bin
/boot
/dev
/etc
/home
.
.
.

All of these can be mounted manually from within the root partition other partitions or even over a network with NFS. You are correct that just like in windows, separating resources via multiple partitions is a very good idea. As an example lets say we have 100 computers in a small office, would it be wise to keep their home directories spanned across local machines. It's not likely, instead we would rather set up NFS and have the /home directories mounted remotely from a main server. In this setup multiple users can log in on different machines, and there files will be there for them. Now you may ask what if the main server was to crash, well then you would need some sort of redundancy and a great backup scheme.

As a second example, lets look at /usr, this directory is filled with lots and lots of files. Files that almost every user uses. So its a lot smarter to have one remote copy on the main server, rather than a a huge local copy on every computer.

So I would recommend you put the /home on another drive completely, but you really dont need to worry about it. I recommend you get used to Linux and then once you are then customize to your needs.


`
Quote:
About the partition manager: OK I go for 'use entire disk'. So that would already make sure, that all Windows-leftovers (MBR..) would be cleaned and the disk would be reformatted ext3?
If you still really wanted the windows stuff after the format to ext3 it is theoretically possible to get the windows file structure back, though incredibly unlikely. If you want to be sure, you will need to wipe the disk. I don't really think you need to. When you format the drive to ext3, it will write the file system along with the inode structure. The more you use the drive the less likely the recoverability of the windows partition is. Unless you have material that simply needs to be erased I wouldn't worry about it.

As for the other disks, once you install ubuntu do the following

sudo apt-get install gparted
sudo gparted

Once in gparted use it to properly partition the drives.


If you want you can name one of the drives /home and then mount() it. You can even manually mount() it over the current /home partition or add it to the /etc/fstab file


if ya got any more ?'s, pleas feel free to ask.

Last edited by Recursion; 04-04-2009 at 10:47 PM.
 
Old 04-19-2009, 05:41 PM   #6
ggerri
LQ Newbie
 
Registered: Apr 2009
Location: Switzerland
Distribution: Ubuntu 10.04/9.10
Posts: 15

Original Poster
Rep: Reputation: 0
Hi Recursion

Just realised that I've forgotten to thank you for your last post and explanation. Really thought I did ;-) Guess I was to busy getting used to Ubuntu. Was playing around with GNOME until now and mounting disks and stuff. But just decided to switch to a KDE only KUBUNTU because it seems its more developer oriented with nice file manager and stuff...

Thanks also for your kind offer to help more if needed. Appreciated much :-)

Take care
Gerald
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 8.04: Upgrade or clean install? LXer Syndicated Linux News 0 05-09-2008 01:50 AM
finished clean install of xp, best method for installing Ubuntu 7.10 J23 Linux - Laptop and Netbook 12 04-22-2008 03:15 AM
Clean install keeping /home partition. digger95 Slackware 10 04-19-2008 03:28 AM
... my lap won't boot!!? Clean Install of Ubuntu ithinkthereforeiam Linux - Laptop and Netbook 5 04-16-2008 07:50 AM
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration