Ubuntu Installation :: Place 'root' On Manually Created LVM?
Mar 10, 2010
I'm just trying to install Ubuntu server 9.10 to a logical volume manager partition. I have two physical disks of 250GB - each has a 10GB primary partition and 240GB logical partition for LVM
I created partions using 'manual partitioning'.
It shows:
LVM VG grpA 240GB
LVM VG grpB 240GB
SCSI1 (sda) 250GB
#5 logical 240GB K lvm
[Code].....
I want '/' (i.e root) to be on a logical volume in the lvm 'grpA' (on disk sda).
But the installer does not offer creation of Logical Volumes or their format - only seems to go as low as volume group. If I try continuing installer complains that 'no root file system is defined'.
Does anyone know how I create the LV and install with root there?
(On another machine with 9.04 I used the guided partitioning with use entire disk and lvm - that just worked putting root in the lvm... but this current machine needs a specific layout).
View 4 Replies
ADVERTISEMENT
May 19, 2010
If you manually partition Ubuntu Linux; how much do you allot to your root directory? If someone installs many games and software, should they use a very large root directory such as 30GB or more?
View 6 Replies
View Related
Jan 17, 2011
Relatively inexperienced user using Linux/ubuntu. Not too savvy I admit and like to use GUI as much as possible. Not a great fan of the Terminal window... I have installed a couple weeks ago Ubuntu 10.10 (Desktop Edition) using Alternative install disk (don't ask why!) on 4Gb usb stick. Working fine except one thing with the raid array. I have created a raid5 array made of 6 drives using GUI (Disk Utility). After an expansion of the array (or was it a reinstall of the OS, I can't remember exactly?) the array does not autostart anymore. Of course nor does it automount anymore.
THE WEIRD THING is that I can still start it MANUALLY from the "Disk Utility" GUI after two tries. And it works just fine thereafter!!! The first time i try to start it gives an error (something about /dev/md0_127 being not ready or buisy). THE SECOND TRY ALWAYS WORKS like a charm, the array starts and i can mount it just fine. Here is a screenshot: I have also noticed that there is no entry in fstab for /dev/md0 although I can manually mount it using the same Disk Utility GUI. That is strange to me. Is it normal? i could easily add it manually but Ubuntu it won't boot anymore (i tried and failed, hence the reinstall). I tried for two weeks to find a solution browsing on different forums but the problem is beyond my expertise...
BELOW are further details about my configuration mdadm.conf, fstab, fdisk -l result and other info. I don=t want to loose my data but it would be nice to make this thing work and be able to access my fileserver via vnc instead of having to keep it connected to a lcd monitor as now. This is the blkid result:
[Code]...
View 3 Replies
View Related
Feb 21, 2015
I'm trying to manually boot (from the GRUB console) into a system set up as follows: crypt partition -> LVM -> root LV, and I'm having some trouble figuring out how to do this from the GRUB console.
I have successfully manually booted a system which is set up as just LVM -> VG -> root LV. All I have to do is load the LVM module. In GRUB, that partition shows up as (hd0,gpt5). Once I load the GRUB LVM module, I can see the logical volume within the LVM as well. (My volume group name is "caesar", and the single logical volume is named "root".)
Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod lvm
grub> ls
... (lvm/caesar-root) ...
It's fairly simple to manually boot:
Code: Select allgrub> set root=(lvm/caesar-root)
grub> linux /vmlinuz root=/dev/mapper/caesar-root
grub> initrd /initrd.img
grub> boot
Where I am having difficulty is in trying to insert crypt before LVM. I can set up such a scheme, and put a minimal installation on it, without issues. It's booting into it upon reboot that I can't figure out. Once I load the GRUB crypto, cryptodisk and luks modules, I can mount the crypto partition:
Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod crypto
grub> insmod cryptodisk
grub> insmod luks
grub> cryptomount (hd0,gpt5)
Attempting to decrypt master key...
Enter passphrase for hd0,gpt5 (<long hex string here>): <type my password>
Slot 0 opened
grub> ls
... (crypto0) ...
At this point, GRUB sees the crypto partition as (crypto0). But the GRUB LVM module doesn't see "inside" of the crypto partition, so I don't see the root logical volume within the LVM listed; all I see is (crypto0).
Code: Select allgrub> insmod lvm
grub> ls
... (crypt0) ...
Setting it as root doesn't work:
Code: Select allgrub> set root=(crypto0)
grub> ls /
error: disk `crypto0' not found.
So, How do I get GRUB to "see" LVM inside the crypto partition?
View 0 Replies
View Related
Mar 25, 2010
The system crontab (/etc/crontab) uses the same format, except that the username for the command is specified after the time and date fields and before the command.
[code]...
Every hour, I get an e-mail complaining about the first line of the crontab:
[code]...
I get the same complaint from the other entries: It looks to me as if cron, or anacron, is trying to execute the user (root) as a command. Predictably, the shell doesn't like it, so barfs and triggers an e-mail about it. Why is this not doing what the man page says it should do? The 2nd problem I believe is related to exim, not cron. The e-mails I'm getting above are being bounced from my ISP because they are directed to root@myisp.com, rather than my regular e-mail address. When the message bounces, it bounces to my regular e-mail address. In /etc/aliases, I have root: [URL]... and in etc/email-addresses I have root: [URL]... Adding the entry to /etc/email-addresses allowed the bounce to find me because the sender's address is [URL]... but how can I get cron to send these messages to me in the first place, instead of root?
View 11 Replies
View Related
Aug 16, 2010
I have setup the Red Hat system and installed MySQL through the Add / Remove Program. I have RHEL 5.4.
When MySQL is being started manually it is being started as root. However, when MySQL is being started using the services command it is started as the user MySQL and it doesn't work.
How can I start MySQL service as root? Or is there another way to fix that issue.
Let me know if you need more information (giving details on how to get it would be nice too).
View 13 Replies
View Related
Mar 9, 2011
Debugging some of my scripts after upgrading from Debian Lenny to Ubuntu 10.04. In so doing, I tripped over this "problem," the solution to which may give me a clue to others.
On a bash shell command line I created a file thusly:
sudo touch zero_file
and it lists as expected with default permissions 0644:
-rw-r--r-- 1 root root 0 2011-03-09 11:18 zero_file
But then this command fails
sudo echo abcdef >>zero_file
-bash: zero_file: Permission denied
I can place the command (minus the "sudo") in a script & run it under the auspices of sudo & it works. Am I missing something re the stdin redirection when using sudo?
View 9 Replies
View Related
Dec 29, 2010
I scan a document with root pressing the scanner button. I would like to send an email using my gmail account. OK. nothing difficult with that... mbsmtp + mutt for sending trhough the sh script.
1-root is to be avoided at max to do some internet duties, due to security. Apt-get is good, but ok surfing or email sending shall be avoided for higher security.
2- sudo or su running mutt through this way, ok, using an existing user. OK, possible and simple, but not comfortable since you have to use an account of an user existing (create a new user for scanner and email?? - no, come on, we have linux and can maybe find a solution)
how to send an Email from root console using an non created USER?
View 5 Replies
View Related
Feb 19, 2010
I have set up a cron job in linux server using the command 'wget -q -o wget_outputlog url'
But on every run, an empty file being created at root.
How to stop this.
View 6 Replies
View Related
May 15, 2011
I have the following setup
a) 1st sata hdd - Ubuntu 9.04 (32 bit)
b) 2nd sata hdd - Win7 (64 bit)
I am on GRUB legacy. I am going to do a clean install and replace Ubuntu 9.04 with Ubuntu 10.10. I plan to leave my Win7 install alone. When I am installing Ubuntu 10.10 over Ubuntu 9.04, where should I place GRUB 2? The choices I've always seen: i) MBR or ii) boot sector of Ubuntu
I do not recall which setup I have now but I can confirm that when I start the computer, I get a GRUB menu that lets me choose Ubuntu or Windows. Ubuntu is the default if no choice is made within 20 seconds. I like that setup and want to replicate it with GRUB 2, if possible. If that is what I want, then I should place GRUB 2 on the MBR, correct or not? Note, I do not intend to install any other OSes. In other words, my 1st sata hdd will only have ubuntu and my 2nd sata hdd will only have windows.
View 3 Replies
View Related
Jul 20, 2011
a server at work has been accessed through the desktop environment as root. I know this is a risk and since I have never done it before I was wondering if there are any files created by the desktop that could compromise the system and how could I clean it up.
View 2 Replies
View Related
Jan 15, 2010
I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.
1. My laptop automatically get logged in without asking user name and password.
2. I tried to change password for newly created user and root user using graphical way but it does not work.
2. I can perform administrator task using only OEM user which is default inbuilt user of mint.
How can make my laptop to ask password when mint get booted? How to change password for other users?
View 1 Replies
View Related
Feb 15, 2010
I have the Windows Boot CD.
Everytime I try to boot it after a restart, it goes through the setup process until it reaches the following blue-screen error message:
"A Problem Has been detected and windows has been shut down to prevent damage to your computer".
I am DEF keeping Ubuntu as my primary. I just want to have XP (Not Vista) for things that Ubuntu can't do (or can't do as effectively with my level of user ability -- yet ).
View 3 Replies
View Related
Mar 11, 2011
I installed yesterday the 11.4 openSUSE to my desktop pC (in my 160hdd that previous had WinVista).The bad thing was that I used grub from opensuse to be installed to MBR.openSUSE uses Grub 1.5 and I want grub2.Now I cannot see Ubuntu when grub legacy loads.I will post the results from
Code:
fdisk -l
later today (cause i am not in my pc)
[code]....
View 9 Replies
View Related
Aug 31, 2010
when I tried to install Fedora on my pc, I got this error message " Defined Root partition not created a / boot/efi partition. I am trying to install it on a seperate hd. My main one has windows xp pro, but I do not want to interfer with that at all?.
View 14 Replies
View Related
May 20, 2011
I'm looking to partition HD to place Ubuntu 11, and not destroy Windows Vista, here's what I see, Allocate drive space,
/dev/sda
/dev/sda1 ntfs 310641 MB unknown
/dev/sda2 ntfs 9428 MB 8346 MB
below that,
Device for boot loader installation
/dev/sda ATA ST3320820AS (320.1GB)
what to do next? *UPDATE: I think my HD is bad, I went ahead with the full install and get; Error: Input/output error during read on/dev/sda. The reason I started this was problems with HD and Vista OS, but after running Ubuntu live CD and being able to see the HD contents which showed Main partition with a boot exclamation and the recovery partition I thought it might be OK still.
View 3 Replies
View Related
Jun 3, 2011
About 3-4 years ago I installed a new harddrive in my computer (XP Pro) and moved the old system disk drive to be secondary. I installed Grub and partitioned it in half. I installed Fedora on one partition and installed XP on the other. Now I want to keep the XP and replace the Fedora with another Linux like Ubuntu or Mint to try them out. I am not sure what I need to do to replace the Fedora and keep XP. Could someone give some idea how this would be done? I don't remember exactly how I did it at the time or what tools I had used or what I will need.
View 1 Replies
View Related
Sep 1, 2010
Is there any log file created during the installation? (10.04 desktop edition) If there is, where is it stored?
View 2 Replies
View Related
May 20, 2011
If I were to have a situation where I had installed the driver for a printer but when I went into printing on the control panel to "add" the printer the driver didn't show up - could I or should I consider manually editing some configuration file to get the printer recognized/ installed on the machine? If that were a good solution, how would I do it? What file would I look for? What would I edit in it? I know that first sentence is probably hard to read but I don't know how else to say it.
View 1 Replies
View Related
Jul 8, 2010
After an upgrade from 8.04 -> 10.04 my system is unable to boot. After a lot of work it seems that the blocking problem is that /dev/md0 is not being created in initramfs so the volume group containing the / file system is not being activated and therefore the boot fails at that point. In /sbin both mdadm and lmv exist and the arrays and volume groups can be created manually using them. The system can then complete booting. Updating initramfs after booting has no apparent effect.
Based on posts I have found I have tried adding raid=noautodetect and rootdelay=240 to the GRUB kernel command line separately and together with no effect, except delaying the boot. It seems that udev is not running correctly so I began digging through the udev rules but don't really understand how it actually works.In /lib/udev/rules I found;
85_mdadm.rules
85_lmv2.rules
If I were guessing (and I am) I would expect 85_lvm2 to be run before 85_mdadm, which is the wrong order. I also found 56_lvm.rules which doesn't seem to do anything. I would appreciate pointers of testing these rules to see what the problem is. It seems all of the pieces are there for this to wok correctly but there is something missing. How can I run or test a single rule? Which udevadm options test these rules,
View 2 Replies
View Related
Mar 4, 2010
I just finished installing Karmic Koala on my computer a little while ago... and I chose to partition the drive manually. My computer has 2 hard drives:
Here's the HDD which boots first and has Grub and Ubuntu on it:
[URL]
And my second HDD which has Windows and a backup partition called "datas":
[URL]
And here's a copy of my /etc/fstab file:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
[code]....
The ext3 partition on the 250GB drive called "datas" is an old partition that I created while I was still using Intrepid... and it works just fine. However the partition called "archives", which I created during the installation of Karmic, doesn't seem to work properly. For some reason I can't write any files or folders on it. Why is that?
View 3 Replies
View Related
Oct 17, 2010
I'm having problems trying to install Ubuntu 10.10 onto a partition that I have created. I boot from disc, select that I want to instal it to a partition and when I get to the list of available partitions, it is not listed.
View 7 Replies
View Related
Aug 6, 2010
I know how to install VLC via terminal sudo aptitude install -vlc But i want to know how to install VLC manually by downloading package or something like that i googled but i didn't found anything ..
View 8 Replies
View Related
May 1, 2010
After finally getting Ubuntu 10.04 installed (with a few disasters along the way) I sought to recreate a shell script for backing up critical files that I had been using with 9.04. The destination for the files was /media/disk (with "disk" being the name that I had given to the USB flash drives in the past with 9.04.).
One drive mounted perfectly, and the shell script ran as it normally should. However, two other drives gave "file or directory not found" error messages and no files were copied. One of the drives lists its name as a very forbidding
"/media/5d588180-19eb-4656-8677-b652c4ed0003.
I attempted to re-name it to "disk", using e2label after un-mounting it, but that did not work? If I run the shell script on several different USB flash drives that I alternate, they must all have the same name.
View 1 Replies
View Related
Nov 3, 2010
I am trying to do a net install. I set up a mirror of lenny using apt-mirror inside a virtual machine on my network using the following guide: [url]
And I changed everything in the guide specifically for Lenny.
I gave the VM bridged networking, and assigned it its own static IP address.
When I attempt do an http install, and point the installer to the address, I get the following error message: choose-mirror[3885]: WARNING **: mirror does not support the specified release (lenny).
View 2 Replies
View Related
Dec 1, 2010
I used Deja dup to back up my Ubuntu eventually I reinstalled ubuntu and went to restore from the files that Deja Dup created but when it said it was done there was no change. I can go into the difftar.gz files and see my folders and files and even tried extracting them from there but when I open them all the information isn't there.
I haven't restored Ubuntu till now so I don't know if I'm doing it wrong or not but its REALLY important that I get some of these files. am I missing a step, or what?
View 2 Replies
View Related
Feb 1, 2011
I used gparted to create 60GB free space which I then formatted as ntfs. However,when I go to install XP I get the blue screen of death.I know the XP installation disc is OK.The ntfs partition (sda3) is after the ext4 partition (sda1) - could this be the source of the problem?
View 9 Replies
View Related
Feb 18, 2010
I am running a Dell Dimension 3000 and I intend to install Ubuntu on it. On it, there is a partition, Dell Utility Partition, which I am hesitant to overwrite. The main partition which I want to install Ubuntu on I formatted in ext4. I try to install Ubuntu from the live cd, but it won't allow me to strictly use the ext4 partition. It insists to either use the entire drive or to have me manually choose the partition. How would I go about doing that? I relatively new to Linux in general
View 2 Replies
View Related
Apr 8, 2010
How can I set up an encrypted LVM without using the "Guided - Use entire disk" option of the alternate installer.
My drive is quite big and I would like to be able to have my encrypted LVM as well as an extra LUKS encrypted partition which I could mount whenever needed. Unfortunately the options in the alternate installer do not allow me to do this without using up the entire disk.
View 2 Replies
View Related
Apr 9, 2010
i am working off of this link https://help.ubuntu.com/community/EOLUpgrades/Feisty and when i try to follow the instructions below "download tarball manually" i get this. chown: cannot access '/tmp/tmpaIgInN' : No such file or directory
View 9 Replies
View Related