LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-2013, 09:05 AM   #1
scotsman
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Rep: Reputation: Disabled
HD partitions for existing Ubuntu installation


I have a laptop with two 500Gb hard drives. The first drive is one big partition and contains the MBR and Win 7. The second drive contains a 235Gb partition with Ubuntu 12.10 on it and the rest of the drive is unallocated. When trying to put video files into a Media folder I created in my home directory I get the message "not enought space" and I suspect this is because, when I installed Ubuntu I did not set up disk partitions properly. What should I have for partitions? I intend using the entire 2nd drive for the Ubuntu install and would appreciate advice on which partitions I should have and how much space I should allocate.
I have gparted installed and intend using that to fix this mess.

Thanks.
 
Old 04-02-2013, 09:20 AM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,048

Rep: Reputation: 286Reputation: 286Reputation: 286
What is the output of
Code:
fdisk -l
?
If you want to increase the size of the partition that Ubuntu is on you will have to use a live cd to increase the partition size. To use the rest of the hard drive you can use gparted from within Ubuntu, to create a data partition.

Last edited by colorpurple21859; 04-02-2013 at 09:22 AM.
 
Old 04-02-2013, 01:10 PM   #3
scotsman
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
It doesn't return anything. It just returns me to the prompt.
 
Old 04-02-2013, 01:16 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
as you are running ubuntu try
Code:
sudo fdisk -l
that is a lower case L, not a one.
 
Old 04-02-2013, 01:17 PM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,195
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Hi

Try
Code:
sudo fdisk -l
 
Old 04-02-2013, 01:27 PM   #6
scotsman
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
re fdisk -l output

[sudo] password for ajay:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008983b

Device Boot Start End Blocks Id System
/dev/sda1 * 63 976751999 488375968+ 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a65bd

Device Boot Start End Blocks Id System
/dev/sdb1 2048 494840710 247419331+ 7 HPFS/NTFS/exFAT
/dev/sdb2 494841854 976773119 240965633 5 Extended
/dev/sdb5 968724480 976773119 4024320 82 Linux swap / Solaris
ajay@ubuntu:~$
 
Old 04-02-2013, 01:49 PM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,195
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Whats the output of
Code:
sudo blkid
 
Old 04-02-2013, 01:53 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,663
Blog Entries: 10

Rep: Reputation: Disabled
Code:
/dev/sda1 * 63 976751999 488375968+ 7 HPFS/NTFS/exFAT
/dev/sdb1 2048 494840710 247419331+ 7 HPFS/NTFS/exFAT
/dev/sdb2 494841854 976773119 240965633 5 Extended
/dev/sdb5 968724480 976773119 4024320 82 Linux swap / Solaris
Just helping out and putting your partitions in code tags.
This way it's easier to read.

Quote:
how much space I should allocate.
When I installed Ubuntu I dedicated 20GB for the journaling file system (/)
And than I allocated 2GB for the Swap-

Last edited by Ztcoracat; 04-02-2013 at 02:01 PM.
 
Old 04-02-2013, 02:28 PM   #9
scotsman
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
partitions for existing ubuntu install

/dev/loop0: UUID="9b16030c-08f8-4f5d-b228-63e13bca7839" TYPE="ext3"
/dev/sda1: UUID="B2A60B3FA60B0397" TYPE="ntfs"
/dev/sdb1: LABEL="2nd HD" UUID="A00C7CC70C7C99CC" TYPE="ntfs"
/dev/sdb5: UUID="43d1b3bc-ba91-4d58-97de-466f9b985a83" TYPE="swap"
 
Old 04-02-2013, 03:53 PM   #10
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,195
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Hi

What is on this partition
/dev/sdb1: LABEL="2nd HD" UUID="A00C7CC70C7C99CC" TYPE="ntfs"

By any chance have you installed Ubuntu inside windows
 
Old 04-02-2013, 04:00 PM   #11
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,195
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Hi

Have a look at this
https://help.ubuntu.com/community/GraphicalInstall
 
Old 04-02-2013, 04:07 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,107

Rep: Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478
Quote:
By any chance have you installed Ubuntu inside windows
that is did you use "wubi"
to make a MS windows binary file where ubuntu is "installed"

wubi is not a real install

it is a type of virtual environment that runs ubuntu while windows is running

Quote:
/dev/sdb1 2048 494840710 247419331+ 7 HPFS/NTFS/exFAT
this is where you said you installed it
But no Linux operating system can run on the Microsoft propitiatory NTFS formated drive

to install Ubuntu this would need to be " ext3 or 4 " or LVM
 
Old 04-02-2013, 06:22 PM   #13
scotsman
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
re HD partitions

I think you've got it Spiky and John, I think I may have installed it inside windows 'cause I think I used wubi. What I think I might do, since there isn't anything in Ubuntu yet that I need to save, is, reformat the 2nd HD and do a clean install of Ubuntu. My only concern is, will the boot loader still work OK and allow me to boot windows if I want? I do have a lot of stuff in Windows and even though much of it is backed up it would be a lengthy job restoring it all if I lost it.
 
Old 04-02-2013, 06:57 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,107

Rep: Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478
the windows bootloader will not boot linux
BUT
ubuntu;s bootloader WILL boot windows
see:
https://help.ubuntu.com/community/WindowsDualBoot
and
http://www.linuxbsdos.com/2012/07/23...2-hard-drives/

i use the two boot partitions
windows has the mbr on the first drive

OpenSUSE 12.2 has grub installed on the FIRST partition of the second drive

and THAT partition is set, in the bios, to boot from FIRST


the ubuntu installer will then set up the bootloader to chainlode to the windows bootloader ( with out changing it )
leaving the windows bootloader unchanged and 100% intact
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Virtualizing an existing Ubuntu 904/WinXP installation -- Question screwbottle Linux - Virtualization and Cloud 9 12-28-2009 09:20 AM
Jolicloud installation seems to have wiped out existing Ubuntu installation gargleblaster Linux - Software 1 12-11-2009 07:57 AM
Resize existing partitions Steve W Linux - Newbie 5 10-29-2008 10:28 AM
resizing existing partitions? Jukas Debian 3 09-20-2006 11:11 PM
Installing ubuntu on existing Linux partitions (partition magic) markses Linux - Newbie 5 04-27-2006 11:50 PM

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

All times are GMT -5. The time now is 08:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration