| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-27-2012, 09:49 AM
|
#1
|
|
Senior Member
Registered: Apr 2003
Posts: 3,218
Rep:
|
About partitioning
Hi all,
Ubuntu 12.04 desktop 64bit
I selected manual partioning and selecting logical on;
/boot
/root
swap
However after reboot I can't find LV;
$ sudo fdisk -l
Code:
[sudo] password for satimis:
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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: 0x0008f463
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 976895 487424 83 Linux
/dev/sda2 978942 2930276351 1464648705 5 Extended
/dev/sda5 978944 2911133695 1455077376 83 Linux
/dev/sda6 2911135744 2930276351 9570304 82 Linux swap / Solaris
I tried 3 times with the same result. I also tried not selecting /boot logical
Please help. Whether HD exceeding 1TB can't partitioned as LV?
TIA
B.R.
satimis
|
|
|
|
12-27-2012, 10:09 AM
|
#2
|
|
Senior Member
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,728
|
Quote:
Originally Posted by satimis
selecting logical on;
...
However after reboot I can't find LV;
|
I assume by "LV" you mean LVM.
"Logical" in setting up partitions does NOT mean LVM.
I've never used LVM, so I can't give you detailed instructions. I used a quick google search to try to find your answer, and found a list of guides for Ubuntu LVM for various advanced situations:
https://help.ubuntu.com/community/In...llation_Guides
I didn't find any instruction for Ubuntu LVM installation for the simplest case, which you seem to need. But I didn't search very hard and I expect the instructions are out there if you put a little effort into looking.
|
|
|
|
12-27-2012, 10:15 AM
|
#3
|
|
Senior Member
Registered: Apr 2003
Posts: 3,218
Original Poster
Rep:
|
Quote:
Originally Posted by johnsfine
I assume by "LV" you mean LVM.
"Logical" in setting up partitions does NOT mean LVM.
I've never used LVM, so I can't give you detailed instructions. I used a quick google search to try to find your answer, and found a list of guides for Ubuntu LVM for various advanced situations:
https://help.ubuntu.com/community/In...llation_Guides
I didn't find any instruction for Ubuntu LVM installation for the simplest case, which you seem to need. But I didn't search very hard and I expect the instructions are out there if you put a little effort into looking.
|
Thanks for your advice.
I'm a little bid confused. I'm now on another Ubuntu box;
Ubuntu 12.04 desktop 64bit
$ sudo fdisk -l
Code:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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: 0x00064d3a
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 3907028991 1953263617 5 Extended
/dev/sda5 501760 3907028991 1953263616 8e Linux LVM
Disk /dev/mapper/ubuntu-root: 1991.7 GB, 1991682031616 bytes
255 heads, 63 sectors/track, 242141 cylinders, total 3890003968 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: 0x00000000
Disk /dev/mapper/ubuntu-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu-swap_1: 8317 MB, 8317304832 bytes
255 heads, 63 sectors/track, 1011 cylinders, total 16244736 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: 0x00000000
Disk /dev/mapper/ubuntu-swap_1 doesn't contain a valid partition table
The output is completely different showing /dev/mapper. The command is the same "sudo fdisk -l"
satimis
|
|
|
|
12-27-2012, 10:26 AM
|
#4
|
|
Senior Member
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,728
|
Your second system has one LVM partition (which seems to be what you want for your first system, but don't know the right steps during install). Inside that LVM partition it has swap and root.
Quote:
Originally Posted by satimis
The output is completely different showing /dev/mapper. The command is the same "sudo fdisk -l"
|
The command is the same. The output is different because the partitioning is different. The second system has /dev/mapper pseudo disks and the first system doesn't.
It appears that fdisk -l is an obsolete tool when you have LVM. The information fdisk -l gives you for that second system is a bit misleading, especially the part
Quote:
|
doesn't contain a valid partition table
|
For things that aren't supposed to contain partition tables.
If I understand correctly, GRUB does not understand LVM, so when you are using LVM you need a /boot partition outside the LVM (as that second system has) and then typically you put all your other "partitions" inside the LVM (But those aren't really partitions. They just act like partitions).
In your other thread, I said that I don't normally advise making /boot separate from root. That applies to the simple cases in which GRUB can read your root partition. If you have root inside LVM and/or one of the forms of RAID that GRUB can't read, then obviously /boot must be separate from root.
Last edited by johnsfine; 12-28-2012 at 07:40 AM.
|
|
|
|
12-27-2012, 10:09 PM
|
#5
|
|
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing
Posts: 1,699
|
Also on your first post I don't believe you have LVM.
You have an extended partition, sda2 and within it sda5 and sda6 (swap).
That looks like a typical extended partition with 2 logical partitions such as you would have with / on sda1 and /home on sda5.
All logical partition numbers always start with 5 in case you were wondering.
|
|
|
|
12-27-2012, 10:23 PM
|
#6
|
|
Senior Member
Registered: Apr 2003
Posts: 3,218
Original Poster
Rep:
|
Hi all,
Thanks for your advice.
I made a mistake not using the Alternative Installer installing the new PC additionally selecting manual partitioning. I couldn't create LVM partitions.
I'll reinstall the PC running the Aternative Installer. Also I'll partition /boot outside LVM
satimis
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Partitioning
|
snoqma |
Linux - Newbie |
6 |
01-07-2011 01:23 PM |
|
Partitioning
|
AGilley007 |
Mandriva |
4 |
07-01-2004 02:33 AM |
|
partitioning
|
PlatinumRik |
Linux - Software |
6 |
04-10-2003 07:11 PM |
|
Partitioning?
|
stalefx |
Linux - Software |
4 |
04-08-2003 08:19 PM |
|
partitioning
|
TravisB |
Linux - General |
7 |
07-31-2002 07:30 PM |
All times are GMT -5. The time now is 10:27 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|