Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop mac malware memory monitor motherboard music network printer problem ram registry router server slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
partitioning with ubuntu

Reply  
Thread Tools
CptBlack's Avatar
Computer Specs
Senior Member with 104 posts.
 
Join Date: Sep 2007
Experience: Intermediate
14-Oct-2007, 08:54 PM #1
partitioning with ubuntu
Hi, I'm setting up a dual boot with vista and ubuntu. I have just installed vista after reformatting my hard drive (60 gb)

Having loaded the ubuntu live cd, I'm struggling to understand the partition wizard in ubuntu. Could someone offer some advice on using this please?

In a previous incarnation of vista, I tried using both the vista partioner in disk manager and diskpart neither of which worked which is why I'm trying to use the ubuntu version.

Cheers
CB
CouchMaster's Avatar
Senior Member with 3,365 posts.
 
Join Date: May 2003
Location: West Texas
Experience: n00b
14-Oct-2007, 09:03 PM #2
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
14-Oct-2007, 09:16 PM #3
No

Vista now has a resizer in its disk management program. Vista now keeps a copy of the partition and the bugger checks it on every boot up. It can refuse to boot if its partition has been resized without its knowledge, all in the name of security!

Therefore I strongly advise resizing of a Vista partition should be done with Vista's own resizer in the Disk Management program. It is actually a lot faster than Gparted and the result is guaranteed. Gparted if worked out could still requires Vista to re-activate and that beats the object of the exercise.

Once unallocated space available for partition creation I recommend boot up Ubuntu as a Live CD and use its terminal program cfdisk in Ubuntu coupled with fdisk to give the second opinion. "cfdisk /dev/sda" to partition hard disk sda and "fdisk -l" to see the current partitions in every disk.

A ubuntu needs about 10Gb for installation and a 1Gb swap. Any partition created by cfdisk is automatically Type 83 suitable for Linux installation. For swap a user needs to overwrite the partition type as 82.

In Ubuntu installation just select manually in the partitioning, highlight the 10Gb partition just created, used as "Ext3" (=asking the installer to format it in Ext3 filing system) an mount as / (=as the mounting point of the root of Ubuntu filing system).
CptBlack's Avatar
Computer Specs
Senior Member with 104 posts.
 
Join Date: Sep 2007
Experience: Intermediate
15-Oct-2007, 10:30 PM #4
Hi, I used the vista resizer to shrink the partition and then used ubuntu to sort out the unallocated space. I think I read somewhere that ubuntu likes to use a seperate partition to store docs etc than the boot partition. Is this true? If so, how do I go about setting this up? I also have an external hard drive that I would like to use for ubuntu, how do I format this so it is the right file system?

On another tack, after installing updates for ubuntu, it has added some extra options to my dual-boot menu. Using the instructions given in my tutorial to install ubuntu, I have copied the menu.lst into a different folder and have attached it below. Is everything ok with it?

Cheers,
CB
Attached Files
File Type: txt menu.lst_copy.txt (4.8 KB, 69 views)
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
16-Oct-2007, 06:03 AM #5
It is a good practice to separate one's personal data from an operating system, be it a Linux or a MS Windows, so that when the system goes down or unbootable one can still access the data with another system, say by a Live CD.

The other advantage is when one wants to back up it is a lot easier and quicker to back up personal data without an operating system attached to it because its footprint will be a lot smaller.

Before a hard disk can be used in a Linux it must have partitions created first. Secondly the partition must be formatted with a filing system. Thirdly that partition must be mounted.

The first two operations can be achieved by gparted and the version inside Ubuntu is good enough for this purpose. To mount sysem manually in ubuntu, say for partition sdb1
Code:
sudo su
mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
To mount the same partition automatically one edits the entries in /etc/fstab.

The alternatives given by Ubuntu menu.lst are for booting different kernel within Ubuntu. Use the default one always.
CptBlack's Avatar
Computer Specs
Senior Member with 104 posts.
 
Join Date: Sep 2007
Experience: Intermediate
17-Oct-2007, 03:14 AM #6
Hi, thanks for that - very useful. I have vista and ubuntu working together now. I'm trying to shrink my main partition with ubuntu on to have a seperate partition for the documents/shared files between windows and ubuntu. However the resize/move option is greyed out from the partition menu. Do I need to boot from the livecd to resize the partition?

Cheers,
CB
CptBlack's Avatar
Computer Specs
Senior Member with 104 posts.
 
Join Date: Sep 2007
Experience: Intermediate
17-Oct-2007, 03:16 AM #7
Also, will I be able to use gparted to partition and format my external hard drives into fat32 so I can use them with ubuntu.

Cheers,
CB
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
17-Oct-2007, 05:33 AM #8
Yes for the 2 counts
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:47 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.