Red Hat / Fedora :: Multiple Partitions - 14 ?
Feb 17, 2011After installing Fedora 14 and opting to overwrite the whole drive with the new operating system I think I see multiple partitions that I did not create. fdisk -l shows:
PHP Code:
After installing Fedora 14 and opting to overwrite the whole drive with the new operating system I think I see multiple partitions that I did not create. fdisk -l shows:
PHP Code:
Say I have this computer and this computer has a 1TB hard disk. I install Fedora 13 on this disk and let the installer do as it wishes with this 1TB of space. I'm going to end up with the LVM thingy. (Can you tell yet that I know nothing about LVM?). Can I, at a later date, use some of the available space to create another partition to install another OS on. Can I create multiple partitions to install several other OS's on?
View 7 Replies View RelatedBy fiat I must distribute my homedirs across multiple physical disks/partitions. Unfortunately this is not open to discussion so obvious solutions like a lvm home partition are not available to me. The issue: Users created with homedirs on the main home partition (the one created as home during the f13 install) behave as expected, but if I create them on a different partition (home9 for the sake of this example) the users are not able to login (dropped back to login screen), nor run x-apps if su -'d to in a konsole.
If I 'su - <user-on-home9>' in a konsole, I get delivered to the /home9/<user-on-home9> as expected, but x-apps fail with the error: 'cannot open display: :0'. This can be temporarily fixed with the command 'xhost +SI:localhost:<user-on-home9>', but I would rather fix it permanently at the source.
This appears to be an selinux problem from the following.The contexts of the the two rootdirs are the same
% ls -Zd /home /home9
drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /home
drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /home9
but when I create the users (using useradd or the gui) their respective contexts differ:
% ls -Zd /home/user5 /home9/user6
[Code]...
So, my questions for you selinux experts are 1) is it possible to have homedirs spread across multiple partitions with selinux, and if so, how, 2) Why, even when I manually set the dir/file contexts to match a properly functioning user5 from /home, do users from /home9 still not work (as far as login and x-apps).
How do I divide my hard drive into multiple OS'es/partitions for my test machine? For example:
Win XP
Win 7
Gentoo
Ubuntu
Storage
Can Linux'es share swap area? I was told to leave the first primary for the grub and linux cores.
For two of my partitions on sda (they are NTFS parts) I have configured them via the NTFS Configuration Tool to mount at boot. This is OK - I can see them in Places, Computer; they are listed together with the mounted icon to the right. However, there is also two other partitions listed - that are not shown as mounted - with the same label name. (I can also see these duplicate parts listed if I click on Places ad look down at the various devices attached under Computer). If I right click on these unmounted parts I see there is a greyed out option to Remove. How do I remove these duplicate partitions?
View 1 Replies View RelatedI searched through with several different terms and couldn't find it.I recently got a DELL Inspiron B120 laptop that had Windows 2000 on it as its sole OS. I'm refurbishing it to some degree. It needs a new LCD Screen and a Wireless Lan card; but that's not important here, I don't think.I'm running it headless and connecting to my desktop through X11VNC.
I decided to put the live disk Ubuntu 10.04 on it and see if I liked it. I decided yes, and went for the install.
Before it installed, it asked me how I wanted to partition the drive. It showed me examples, and I decided to keep the Windows 2000 on there, along with the little DELL diagnostics, etc. part and divide the 40GB drive up into pieces: 18GB for Win2k, 4GB for Dell, and 18GB for Ubuntu 10.04.Once installed I wanted to change the timeout for the GRUB to longer than 3 seconds before it boots the top choice (which is Ubuntu).
I noticed when I could catch it; that it was titled GNU Grub 1.98. I'm not really familiar with multiple GRUBs, so I didn't think about it. Then after a few days, I started getting updates for Ubuntu. The first one was the Ubuntu 10.04.2 LTS, kernel 2.6.32-28-generic from the original kernel 2.6.32-24-generic. Then it went to kernel 2.6.32-29-generic, and yesterday to kernel 2.6.32-30-generic.
That's fine; but the GRUB list is still saying 2.6.32-28-generic as the most recent. Also, the last update asked me if I wanted to create a menu.lst file.I thought I had a GRUB.cfg file that had the list of boots...But I answered yes anyway, and installed the GRUB menu.lst. I changed the timeout to 15 seconds in menu.lst; but the list is still showing as the GNU Grub 1.98 and the list of boots is still topped with 2.6.32-28-generic.I have no idea what's going on now; nor how to update it so that I use the GRUB with the menu.lst and delete or suspend the GNU Grub 1.98.
Say I have an image of a file system. I made it with dd by copying it off my USB stick. e.g. "sudo dd if=/dev/sdb1 of=./image.ext2" I can mount said image with the command: "sudo mount -t ext2 -o loop ./image.ext2 /mnt/" Now, say instead of copying a partition with dd, I copy a whole drive. e.g. "sudo dd if=/dev/sdb of=./image.img". sdb had 2 partitions on it. How can I mount those separate partitions without copying that image back onto the USB drive?
View 1 Replies View RelatedRegularly I find myself cloning a machine using rsync. I find it understandable, reliable and fast, faster than dd, and I don't have to worry about different partition sizes etc. However, usually I partition my hard disk in a number of partitions:
Code:
/
/home
/usr
/var
When I start with a new, empty machine, I start up with a USB stick or live CD, and my new, empty hard disk becomes /dev/sdb. After creating the 4 partitions I have /dev/sdb1, /dev/sdb2... etc. My root directory is on the disk I used for booting, usually /dev/sda. So, in order to access my newly created partitions, I mount them on the /mnt/directory of my root:
Code:
mounted now later
/mnt/sdb1 /
/mnt/sdb2 /home
/mnt/sdb3 /usr
/mnt/sdb4 /var
In other words, I mount now /dev/sdb1 on /mnt/sdb1, while after copying /dev/sdb1 will become my root directory, /dev/sdb2 become my /home directory, etc. When I start the resync process to copy the image from a remote machine, I have to copy all 4 partitions separately. First the root directory, excluding /home, /usr, /var, then /home, then /usr, /var, like this:
Code:
action 1:
rsync --exclude='/home' --exclude='/var' --exclude='/usr' my.remote.machine:/ /dev/sdb1/
action 2:
rsync my.remote.machine:/home /dev/sdb2/
action 3:
rsync my.remote.machine:/usr /dev/sdb3/
action 4:
rsync my.remote.machine:/var /dev/sdb4/
That is a lot of typing and waiting. Sometimes I have a different partition scheme so it is not really feasible to write a script to use always. Now the Question: is there a smarter way of mounting the newly formatted disk (/dev/sdb1, /dev/sdb2... etc) in my root tree so I can perform the rsync copy in just one time, without all the excludes, but assuring that the correct source partitions end up on the correct destination partitions?
I did this with :
Code:
I made two partitions as below
Code:
3. Partition Compact Flash
Make two partitions on CF (use linux fdisk or anything else that is able to make linux filesystem)
1. at least 8MB FAT
2. rest ext2 (recommended) or ext3 - at least 50MB
Copy vmlinuz, initrd, linexec and params.txt to FAT partition.
Uncompress rootfs.tar.bz2 to ext2 partition. (command details at ref. [1])
But :
fdisk -l says only one /dev/sdd1
not sdd1a
not sdd1a
How can I mount those 2 created partitions, since they are hidden under /dev/sdd1 ?
Is it a bug of the kernel?
I need to set up a RAID 1 array on Squeeze. I have 3 partitions: sda1 is root, sda5 is home, and sda6 is swap. (sda2 is the extended partition containing home and swap. This was a clean installation, so I don't know what happened to sda3 and sda4...)
All the information that I've been able to find recommends doing something like this:
mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sdb1 /dev/sdc1
Do I need to type a separate command for each partition, or is there a better way to do it? Also, should I use the UUID instead of the dev names?
I am rebuilding a bunch of servers and want to do it right. They are Dell R200s and R300s with on-board LSI SAS1068E SCSI controllers with 2 SATA drives. The only RAID level supported on these cards is RAID 1. So, to the server, we have 148GB of space to deal with. They currently run 32-bit Ubuntu 8.10; I will be installing x64 Ubuntu 10.04.
I have always seen that it is best practice to partition in such a way that /boot, /var/log, /temp, and /home for example are separated out from /. Usually this is on a RAID5 or higher box. Is there any benefit to doing that sort of thing on a RAID1 box? I realize that this is in some ways a matter of opinion, but I would like the opinion of folks with experience. I'm pretty new to Linux in general.
The main services running on these boxes are Apache2, Tomcat6, MySQL, and Java.
Entries from fstab:
Code: Select allUUID=04E2891117C6D1E8 /mnt/Movies auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=22C19F6A209C7999 /mnt/Storage/ auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=366C25EB7664050D /mnt/Recovery/ auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=2983C8A82A5FEF6C /mnt/Down/ auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
The only one that shows in PCMANFM is the Movies partition. All others listed here are missing.
I checked syslog and it looks like they all mount correctly.
This puzzles me since all of them have the same options set.
I created a customized Lucid image and installed on my computer which has 1 hard drive (/dev/sda)When I booted up .. it gave me an error indicating "Multiple active partitions" ... and did not boot up ...
I used my live CD and run as live session to check on the hard drive, When I issued the command fdisk -l on an terminal , the out put indicated that only /dev/sda1 is bootable, and other /dev/sda* were not bootable ...
I am not sure why I got the "Multiple active partitions" message at boot up time ..
I have used GParted several times but I only know how to clone a single partition. I am looking for a way to clone and entire drive that has several partitions, along withthe MRB, unpartitioned space and everything else in one step. I have a 500 GB drive that is going out and I want to clone it to a 1 TB drive so I don't have to reinstall 3 different OSs and fix the GRUB. One of the other OSs is on anther drive so I'm not sure that it would work even if I can clone everything exactly. I'm not sure if the drive that is failing is the one with the MBR on it or not. how to do this in GParted or know another good program I can run from a live CD to do this?
View 2 Replies View RelatedMy partition layout is as follows:
sda1: 14GB / ext4
sda2: 10GB /iso ext4
sda3: 4GB /home ext4
sda4: 86GB Extended
sad5: 2GB swap
I have 84GB free space on this hard drive and want to install another distro. Will I be able to create another / and /home partitions for the new distro?
I've looked high and low but I haven't been able to find any example of what I'm currently experiencing with my hard disks.First off, I'm running CentOS as a Samba file server, on a Soltek SL-K8TPro-939 and AMD 64 3200+ (all the rage of five years ago). Here's my disk setup
Drive #1 (80 GB)
-Boot partition
-LVM partition (this drive holds the root filesystem[code]....
Ok, so I get a notification in my system mail yesterday: The following warning/error was logged by the smartd daemon:
Device: /dev/sda, unable to open device
For details see host's SYSLOG (default: /var/log/messages).You can also use the smartctl utility for further investigation.No additional email messages about this problem will be sent.
I installed 4 encrypted partitions (/, /var, /tmp, and swap) that are mounted at boot using the Alternate Installation Disc, and they all have the same password, but I have to type that password in 4 times when booting up. How do I make it so I only need to type in my password once?
View 1 Replies View RelatedI used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),
[Code]....
I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.
View 3 Replies View RelatedXubuntu 9.04 installation CD not detecting any of the current partitions. This all started when I reinstalled windows XP a few days ago.After, the computer wouldn't boot into GRUB and would boot directly into windows.Other threads have dealt with a similar issue, that of overlapping partitions causing libparted/parted/gparted to detect the whole drive as unallocated space. The problem in these threads seemed to be a corrupted partition table, in which the partitions overlapped with each other. So of course I checked the output of fdisk -l for overlapping partitions, but I don't see any obvious overlapping partitions. I've noticed that the partition that used to be linux swap isn't showing up in the partition table at all. I might just be missing something simple here and would like another set of eyes to help me figure this one out. Does the problem have anything to do with the partition table being out of order (ie. not in order of what regions they cover on the drive)? From the liveCD I've run
Code:
sudo fdisk -lu
sudo sfdisk -d
sudo parted /dev/sda print
and have received the following output:
Code:
ubuntu@ubuntu:/mnt$ sudo fdisk -lu
omitting empty partition (5)
Disk /dev/sda: 60.0 GB, 60011642880 bytes
[code]....
I've installed Arch Linux onto my Western Digital SATA drive.I love it, best ever, however, I need the fglrx proprietry driver for better 3-d performace, and decided to create a new partition. I decided to install Linux Mint.Sadly, in all my noobishness, I forgot about the 4 primary partition limit (oops!) and as I have /, /home, swap, and /boot partitions (all primary) already installed, I have run into a bit of a problem.I resized my /home partition (almost 500GB) to about 225, and was then told I have over 200GB unusable space. Is it possible for me to change at least 1 of my primary partitions to logical partitions AND keep all the data intact (AND edit the arch configuration so that it'll still work) so I can install a second linux? I sincerely doubt it
View 10 Replies View RelatedI am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?
View 1 Replies View RelatedI have problem with XEN Citrix server I can not understand ; what is sda2 and sda3 partitions ?
Code:
root@cl-500 ~]# fdisk -l
Disk /dev/sda: 2000.4 GB, 2000407625728 bytes
64 heads, 32 sectors/track, 1907737 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
[Code]...
I going to dual boot Fedora 11 and Windows Vista (although Windows Vista is currently defunct) and have wrested about 120 GB from Vista and can't get any more. (This is an old computer, but when I tried to fix Vista by going in to make rescue and recovery discs, it did me the additional service of deleting my Linux partitions). I think I want the partition structure:
Windows ntfs partition - Shared vfat partition (biggest) - / ext4 partition (20-30 GB) - Home ext4 partition - Boot ext3 partition - swap partition
Correct me if I'm wrong. How big should the home and boot partitions be, and should I have a /home partition at all if I am going to be putting my personal data on the shared partition instead? I have 3GB RAM which I think means a 2GB swap is good.
I am running Fedora 12 i686. I have three hard drives in my computer with multiple partitions. Three of these partitions are mounted in /mnt by fstab. sdc10, sdb11, sdc1. all are EXT3. About four of every five startups they are mounted. One drive is ATA the other two are SATA and when they are not mounted the drive order is changed the ATA drive which should be sdc is reported by gparted as sda and the SATA drives sda and sdb.
Here is my fstab:
#
# /etc/fstab
# Created by anaconda on Sat Nov 21 10:57:50 2009
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
[code]....
Right now I'm running Ubuntu and love the concept but don't have the necessary drivers for my Notebook. I love the thing but Windows crashed just 1 month after the software warranty ran out. I have the Fedora 15 ISOs but no CD burner and no access to one. I've tried unpacking the ISO to a directory on one partition and formatted the other. All ready now with no place to go. I've started editing some of the init files and I sort of know what I'm doing but I have no idea if I even can install from that to the other partition. It seems like it should work.
View 2 Replies View RelatedWhen we install a linux OS, we've an option to create partitions. In my laptop I've create partition for /opt, /home, / and /tmp. Are these partitions the same type of partitions as the partitions created by LVM?
View 1 Replies View RelatedI am happily running Fedora 8 on my Inspiron 6400 Laptop. I am looking to upgrade to Fedora 11 soon, and had a partitioning question.
Currently my disk looks like this:
My question has to do with using LVM's in Fedora... What are the benefits of LVM vs just regular partitions (even though in F11 they are ext4 ) ? Does it make mounting the drives from a live CD or backing up partitions more difficult? I use PartImage to backup the entire partition... with this work with LVM?
I'm trying to install windows xp on a hard drive that has fedora installed. When I booted the windows xp cd, it would get stuck on a blank black screen after displaying the words ""Setup is inspecting your hardware configuration."I searched for that problem and the solution to it seemed to be to clear the mbr. I tried doing that in fedora from the terminal using: dd if=/dev/null of=/dev/sda1 bs=446 count=1That didn't work. I kept getting this message:0+0 records in0+0 records out0 bytes (0 B) copied, 2.2978e-05 s, 0.0 kB/sAt this point, I backed up all my data in fedora thinking that I would delete the fedorainstallation and start anew with xp and then reinstall fedora.
I had an old slackware cd around that I thought I could use to run fdisk from and delete the partitions for fedoraen I did that I found that it wouldn't recognize anypartitions. I kept trying to print out the partition table and it would display nothing.But I can view the partition table when I run fdisk from the terminal in fedoraUnfortunately I lost the cds I used to install fedora long ago and I don't have any blank cds that I could write isos to. So, my question is would there be any disastrous consequences if I deleted the fedora partitions from the terminal while running fedora?
I've got a Desktop System that Automounted Two NTFS partitions in F10 so I could declare them SAMBA Shares and have my other XP and Vista Machine Access them whether my dual boot machine ran XP or F10. Now I've switched to F11 and cannot get the NTFS Partitions to Automount at boot. If I browse with COMPUTER and let the system mount the NTFS partitions once it is running the mount command returns the following output:
[code]....
I believe I need to modify /etc/fstab but cannot get the syntax correct to save my life.