Results 1 to 9 of 9
Hi all,
Ubuntu 12.04 desktop 64 bit
Performed following steps to reinstall Ubuntu
1)
Download "ubuntu-12.04.1-alternate-amd64.iso" and burned it on USB drive/stick
2)
Booted up the PC with the said ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-08-2012 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Installation problem on LVM
Hi all,
Ubuntu 12.04 desktop 64 bit
Performed following steps to reinstall Ubuntu
1)
Download "ubuntu-12.04.1-alternate-amd64.iso" and burned it on USB drive/stick
2)
Booted up the PC with the said drive/stick. Deleted old partitions and created new partitions with LVM /root. Installation went through without problem
3)
Started Ubuntun 12.04 desktop. Ran "sudo apt-get update && sudo apt-get upgrade
4)
On terminal
$ sudo fdisk -l$ sudo apt-get install lvm2Code:Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x000bfde6 Device Boot Start End Blocks Id System /dev/sda1 * 2048 585727 291840 83 Linux /dev/sda2 587774 154882047 77147137 5 Extended /dev/sda3 154882048 156835839 976896 82 Linux swap / Solaris /dev/sda5 587776 154882047 77147136 83 Linux
$ sudo vgchange -a yPls help. TIACode:No volume groups found
B.R.
satimis
- 10-08-2012 #2Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
So, type
mount
to show where your file systems are mounted.
To see your volume groups, type
vgscan
To see your lv's, type
lvscan
- 10-08-2012 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
I followed;
HowTo: Setup Ubuntu Desktop with LVM Partitions
https://help.ubuntu.com/community/UbuntuDesktopLVM
to install Ubuntu. But it didn't start two options of "Try Ubuntu" and "Install Ubuntu"
Then I continued the installation without manual and came to the result as posted previously. Ubuntu was installed in about half space of the HD leaving the rest space for another Linux OS.
I made another round installing Ubuntu on the complete space of the HD. Then I was allowed to create LVM.
$ sudo fdisk -lBut still there is problem on "Disk /dev/mapper/lvm-root doesn't contain a valid partition table"Code:Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x000948c6 Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 312580095 156039169 5 Extended /dev/sda5 501760 312580095 156039168 8e Linux LVM Disk /dev/mapper/lvm-root: 70.7 GB, 70678216704 bytes 255 heads, 63 sectors/track, 8592 cylinders, total 138043392 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/lvm-root doesn't contain a valid partition table Disk /dev/mapper/lvm-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/lvm-swap_1 doesn't contain a valid partition table
I think I have to use "ubuntu-12.04.1-desktop-amd64.iso" NOT "ubuntu-12.04.1-alternate-amd64.iso" The former would start two options of "Try Ubuntu" and "Install Ubuntu"
- 10-08-2012 #4Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
- 10-08-2012 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
- 10-09-2012 #6
There is nothing wrong with Alternate installation image. It has text based installer and it doesn't give Live mode option.
Didn't you select LVM in Partition Section during installation? All installers give an option to manage partitions before install starts.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-09-2012 #7Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
From my recollection:
- I can't create LVM partitions first. Because I can't assign /root on it.
- Nor can I partition the HD first to install Ubuntu. I have to create Logical Volume Group first from there installing Ubuntu to take up the complete HD
Another problem of unknown cause is;
Root password didn't work after installation. I have to start "recovery" mode and dropped to root shell to run;
# mount -rw -o remount /
# passwd root
I use the same root password through out all OS under testing for years.
- 10-09-2012 #8Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Another problem surfaces on installing Fedora 17 as dual boot. There is no spare space.
see photo attached.
Neither I can resize Ubuntu with the device provided by the installer.
I have to follow the steps on;
Dualboot on lvm with luks
fedora - Dualboot on lvm with luks - Super User
Is there an easy way? Otherwise I prefer going back to physical partitioning without LVM
TIA
B.R.
satimis
- 10-09-2012 #9Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Another problem surfaces on installing Fedora 17 as dual boot. There is no spare space.
see photo attached.
Neither I can resize Ubuntu with the device provided by the installer.
I have to follow the steps on;
Dualboot on lvm with luks
fedora - Dualboot on lvm with luks - Super User
Is there an easy way? Otherwise I prefer going back to physical partitioning without LVM
TIA
B.R.
satimis


Reply With Quote

