General :: Creating New Partition And Label ?

Mar 11, 2010

I am a newbie to Linux and I am using CentOs. I am trying to create a new partion on my CentOs VM. I create a new primary partition using fdisk (I use the command fdisk /dev/hda). After I create the partition and use partprobe to write the partition to disk, I try to give the new partition a label. So, I use the command e2label /dev/hda LABEL=test

However, when I enter the command e2label /dev/hda3 , it doesn't display the label for the newly created partition. Am I doing something wrong here? Is the syntax of the e2label command wrong when creating the label for the new partition? Did I miss a step after writing the new partition to disk.

View 4 Replies


General :: Rename Partition Label ?

Mar 7, 2011

I just installed Linux on a second partition. The label of this partition is currently " newlabel " i want to change this to "linux" how to do this.

View 2 Replies View Related

General :: Change The Label Of One Partition Without Formatting It

Apr 12, 2010

How can I change the label of one partition on linux without formatting it.

It wll format the partition, and all content disappears.

View 5 Replies View Related

Ubuntu :: GPT Partition Label Has No BIOS Boot Partition?

Jun 24, 2011

When I installed Ubuntu on my system (a year or so ago) I forgot to add a BIOS Boot Partition. This is something of a problem considering that the partition type for my 2TB drive is GPT. Hence, whenever grub is updated I get a warning:

/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged..
Installation finished. No error reported.


If so, what is the rough sequence of commands to create the partition (without disturbing what is already there) and then setting it as a BIOS boot partition.

View 4 Replies View Related

General :: Difference Between 'LABEL=/1' And 'LABEL=/'

Jun 2, 2010

I have to configure "Oracle Ent Linux 5" in different two server.

After installing the server ,I observer that the grub loader entry are different like:

Machine 1:

Machine 2:

Here , I don't understand the difference between 'LABEL=/1' and 'LABEL=/' .

View 1 Replies View Related

Ubuntu :: Changed Partition Label, Now Can't Log In?

Apr 10, 2010

I may have sabotaged my installation beyond repair, but I am nourishing a cautious optimism, as justified below, and would warmly welcome any ideas.Here's the scoop:The harddrive on my Dell Latitude is divided into a number of partitions; I used to run a Windows-Linux dual boot, so I had some EXT3, some NTFS, and some FAT32 partitions, but a few months ago decided to eliminate the windows, and thus converted the ntfs partition into a linux partition. I've been using this newly converted partition for temporary backups; it held no important data. This, at least, was my supposition: yesterday, I decided to change the label on this partition (cosmetic motives), and after cavalierly making the change with GPARTED, I now can't log in.

A few clues about what could be going on:1. The system boots up fine; when I get to the login screen, however, and enter my name and password, I get the following error message: "GDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. in any case, it is not possible to log in. Please contact your system administrator."2. All my files are intact (following some advice I saw posted on the forums, I hit cnt + alt + F1 and was able to log in) and as far as I can tell, I am not out of disk space. This gives me hope that maybe I can restore the system without totally reinstalling Ubuntu.That is about all I know. If anyone has any thoughts as to what might be going on, I would be very happy to hear them.

View 9 Replies View Related

Software :: Set Partition Label Using Cfdisk?

May 8, 2011

Is it possible to set partition label using cfdisk?

View 3 Replies View Related

OpenSUSE :: Change The Partition Label Of A Drive?

Jun 19, 2011

How do I change the partition label of a drive in openSuse. I am using KDE. I have this howto: Editing FAT32 Partition Labels using mtools But its too long and requires to edit configuration files, when actually for removable media this is a very long cycle.

View 7 Replies View Related

Debian :: Umounting With LABEL=label In Fstab ?

Jan 31, 2010

I'm having trouble umounting partitions.

This is the entry I have in /etc/fstab for backup:

I can mount it ok:

But can't umount it:

View 3 Replies View Related

General :: Creating An Extended Partition

Mar 14, 2011

I'm trying to create an extended partition. In GParted, I shrunk the size of the existing partition and now want to create a new EXTENDED partition in the free, unallocated space. GParted only lets me create a PRIMARY partition. What am I doing wrong here?

Here's what I've got right now:

You can actually ignore the flag for the swap as "boot." That was me just messing around trying to get it to work. I've removed that flag. Not sure how the question of boot affects all of this...maybe it factors in somehow.

View 2 Replies View Related

General :: Creating Extended Partition - RHEL 5.4

Apr 18, 2010

I'm following the book RHCE book (5th edition) by Michael Jang. On the exercise on pg.140, creating partitions, I've created /boot (hda1), swap (hda2) and / (hda3). So far so good.

Next, I'm supposed to make an extended partition, containing the rest of the disk. So this should be hda4, right? But when I try to create either an LVM, or RAID partition, it creates hda4 AND hda5 under hda4. Why is that? Am I doing something wrong? The book next asks me to create /var as hda5, so if hda5 is already created automatically above, how am I supposed to create /var?

View 7 Replies View Related

General :: Creating A RAID1 Partition With Mdadm On Ubuntu?

Jan 28, 2010

I'm trying to set up a RAID1 partition on my Ubuntu 9.10 workstation.On this dual-boot system, Ubuntu is running from a separate drive (/dev/sdc - an SSD that is quite small, which is why I need more disk space). Besides that, there are two traditional 500 GB hard drives, which have Windows 7 installed (I want to keep the Windows installation intact), and about half of the space unallocated. This space is where I want to set up a single, large RAID1 partition for Linux.

(This, to my understanding, would be software RAID, whereas the Windows partitions are on hardware RAID - I hope this isn't a problem... Edit: See Peter's comment. I guess this shouldn't be a problem since I see both drives separately on Linux.)On both disks, /dev/sda and /dev/sdb, I created, using fdisk, identical new partitions of type "Linux raid autodetect" to fill up the unallocated space.

Device Boot Start End Blocks Id System
/dev/sda1 1 10 80293+ de Dell Utility
/dev/sda2 * 11 106 768000 7 HPFS/NTFS


But so is "Device or resource busy" when trying to create the RAID array. Quite strange.

Update: Could the device mapper have something to do with this? How do /dev/mapper and dmraid relate to all this mdadm stuff anyway? Both provide software RAID, but.. differently? Sorry for my ignorance here. Under /dev/mapper/ there are some device files that, I think, somehow match the 3 Windows RAID partitions (sd{a,b}1 through sd{a,b}3). I don't know why there are four of these arrays though.

$ ls /dev/mapper/
control isw_dgjjcdcegc_ARRAY1 isw_dgjjcdcegc_ARRAY3
isw_dgjjcdcegc_ARRAY isw_dgjjcdcegc_ARRAY2

View 2 Replies View Related

General :: Increase Number Of Inodes Without Re-creating Partition?

Jul 14, 2011

How can the number of inodes be increased on an existing EXT3 or EXT4 partition without re-creating the partition?

View 3 Replies View Related

General :: Boot Windows Partition On Startup Or Creating A New MBR ?

Aug 2, 2010

I have two hard drives in my desktop. One HD has a working Ubuntu system-hence the ability to post here- and the other contains Windows XP Pro. When the XP drive crashed I was able to re-install an image I had saved using Acronis. Unfortunately the dual-boot option at startup is no longer available. I can only boot to Ubuntu. Not so bad really but there are some programs on Windows that I need to use. Is there any way, using Grub perhaps, that I can reconfigure an MBR to include the second hard drive and the Windows system?

View 1 Replies View Related

General :: Encrypt Full Partition Instead Of Creating A File And Encrypting It?

Jan 8, 2010

I want to encrypt Full partition instead of creating a file and encrypting it, and also want to move this disk to another server. do i need some files also (that hold keys) with my self on new server. i am using FC11.

View 2 Replies View Related

General :: Recovering/Creating NewWorld Partition On Mac G4 (PPC) After Botched Debian Install?

Apr 25, 2010

I was trying to install Debian 5.04 on a Mac G4, and in typical geek tradition, I didn't RTFM. During installation, I nuked all existing partitions, creating new to my liking. But as I learned later during the installation process, yaboot needed a NewWorld partition, so I can't boot the installation. I don't have any OSX CDs with me (this is a used G4 I purchased of craigslist) with which to create a HFS partition.I've re-run the Debian installer, which lets me create a partition that is supposed to be of type 'NewWorld', but the installer does not seem to like it or recognizes it.

View 1 Replies View Related

General :: Label And Format USB Drive?

Jun 16, 2010

I have a USB thumb drive that I just partitioned using the 'fdisk' utility in Linux. Now I am trying to learn the command that will allow me to format the drive as 'fat32' while also setting the disk label on the device as "ocz_usb" when the drive gets mounted. Does anyone know the command I would use that will format the USB drive and properly set the disk label at the same time?

View 3 Replies View Related

General :: Mlabel Command - Can't Re-label

Aug 24, 2010

i was trying to re-label my flash drive and i manged to with the help of this command

mlabel -i /dev/sdc1 -s ::test

what does the -i option means cause after i read the manual pages i couldn't find it there. mlabel only takes the "v" "s" "c" switches and no "i" and when I remove the -i option from the whole command don;t work and i can't re-label. its just driving me crazy that every one is using it and no tells what does it do.

View 2 Replies View Related

Fedora Installation :: Installation - Creating A Swap Partition Or A Boot Partition?

Jul 27, 2009

I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?

Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?

View 4 Replies View Related

General :: Label A Drive During The Format Command?

Dec 18, 2009

I use to know this command but lost it and did not note the entire command on my Linux cheat sheet. Someone once showed me a simple very easy command I could use to simple format a USB flash drive as FAT32 and in the same command also name the label of the drive.I have the device /dev/sdc1 and I am formatting this as FAT32 so it's compatible across multiple systems but also want the drive to have the name 'my_usb'.

View 3 Replies View Related

General :: Boot Label Changes Using Kick Start

Jan 30, 2011

I am customizing CentOS and doing the entire procedure through ks.cfg file. Everything is been configured properly except the boot label. I would want Boot label to be customized rather than the default one. Is it possible to achieve this using kickstart?

View 2 Replies View Related

General :: Label Versus UUID In Fstab And Menu.lst?

Jan 2, 2010

I realized that my understanding of UUIDs in Linux to specifying hard disk partitions may be erroneous.

The proverbial wisdom is that one should not use hard-coded device specifications in fstab and in the boot menu.lst, such as /dev/sda1 etc. The reason normally given is that if hard disk order changes or the order of partitions change, then the entries will be incorrect since they are hardcoded to partitions following a specific order.

So my understanding was that using hard disk labels, in the form of LABEL=xxxx, or UUIDs in the form of UUID=some-uuid, would prevent these problems when disk order or partition order changed.

I decided to avoid the use of LABEL in case I wanted to change the LABEL on a partition to make the names of partitions more easily identifiable. I then thought that UUID was ideal since it never changed for a partition no matter even if I moved that partition to another drive or added another hard drive and thus changes the order of hard drives on my computer. I essentially thought that once UUID was determined for a partition, it never changed but was somehow part of the partition in the hardware of my computer.

Then I became curious of how a UUID was determined. I did this because I often make backups of partitions on external SATA drives and wanted to make sure that somehow the backup would not duplicate whatever Linux considers the UUID of a partition and present a Linux distribution with two UUIDS which are somehow the same and therefore confuse the Linux distribution to the point that I could not use it. I am aware that UUID means a unique id, but I wanted to make sure I understand how that unique id is determined in Linux. This is especially true since the tool I use to make backups of an entire partition is a Windows application, and not a Linux application, and I wanted to make sure that the backup partition UUID would not duplicate that of an existing partition.

In my very brief research in how a UUID is generated under Linux it appears that it is not something that is part of the hardware of the partition itself but rather a number generated by some parameters of the partition, one of which is the partition order.

If it is, it means to me that if I move a partition from one place to another, even on the same hard drive, or to another hard drive, a Linux distribution will no longer find the partition based on the UUID. In that case it seems as if the UUID is subject to the same weakness as the device specification in fstab and menu.lst in that the order of a partition or the placement of a partition on a particular hard drive will cause the designation to no longer refer to the same partition. In which case it appears to me that only the LABEL parameter is not subject to this weakness and as long as I keep distinct labels for all partitions on my hard drive I could theoretically move them around at will and a Linux distribution will find them correctly. I am aware of course that my computer must always find the boot partition to be able to boot a Linux distribution, so moving Linux parttions where I want them is subject to the ability of my computer to find them from the MBR of my hard drives. But in the main it now appears to me that the best way to insure that moving partitions does not keep a Linux distribution from botting correctly is to use LABEL, and not UUID, in fstab and menu.lst, and of course to make sure that if I decide to change the LABEL of a partition that I must change its entry in fstab and possibly menu.lst before rebooting that distribution.

If I have been wrong in my latest surmises I would appreciate being corrected, as the information I found on UUIDs and how they are generated may not be correct. Also if there is more exact information on exactly how partition UUIDs are generated in Linux I would appreciating anyone pointing it out to me.

View 10 Replies View Related

Debian :: Creating A New Swap Partition ?

Jul 3, 2011

Currently my system runs on two disks, sda 30GB and sdc 1GB. sdb is my data disk. I have set the partitions as sda1 /boot, sda2 /(root) and sdc1 /(swap).

Thinking that sdc was udma33 i used the disk for a swap area. Later i found out that it is pio4 and i want to relocate my swap area to sda.

Using GParted Live i am planning to create a swap partition to sda. Will fixing the entry in fstab be enough to correct this or do i need to do something more?

I could also use some advice on which live debian image i can install in sdc, to use for rescuing purposes. The capacity of the disk is 1080MB.

As a side note, the images i find for usd-hdd are direct download. Are there any torrent files for these?

View 2 Replies View Related

Ubuntu :: Creating A Partition For Installation ?

Apr 29, 2010

To install ubuntu 10.04, I've tried to create partitions on my hard drive, and an external hard drive. Both have failed. I have apparently exceeded the max number of partitions on my hard drive (came with 4 on it. Recovery, OS, and 2 others I don't want to mess with.), and the external hard drive won't let me shrink the NTFS volume to create space for a new partition. Can I get steps to create a new partition, preferably on the external drive (it has more space). My computer is a dell inspiron 1525 with a 225 Gb hard drive, And my external drive is a windows system Seagate 1 Tb Hard drive (I've checked, external drive works with ubuntu).

View 9 Replies View Related

Ubuntu :: Creating The Partition For Windows?

Oct 4, 2010

I have been using Ubuntu 10.04 for awhile now, and I wish to create a partition for Windows 7 so that I can dual-boot. I know you all are cursing me right now, but I have no choice. I run too much high-end software for business purposes that I need to.

I have dual-booted before, but that was when I had windows xp on a primary partition, and I seem to recall that was necessary. I dual-booted ubuntu afterwards as a trial basis, and then I completely switched to Ubuntu 100% for the last couple years. Unfortunately I need to go back. Is it possible to create a file partition for windows as a secondary partition without wiping all my data?

View 1 Replies View Related

Ubuntu :: Error While Creating A New Partition?

Dec 28, 2010

I'm trying to install XP Sp 3 on my comp which is running Ubuntu atm. But when I tried to create a partition after I clicked "Apply" I get this error :

GParted 0.6.2 Libparted 2.3 Create Primary Partition #1 (ntfs, 74.50 GiB) on /dev/sda 00:00:01( ERROR ) create empty partition 00:00:01( ERROR )libparted messages( INFO ) Partition(s) 1, 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.

View 2 Replies View Related

SUSE :: Creating Partition With Specific ID ?

Sep 30, 2010

I was doing an exam the other day and they wanted me to create a partition /dev/hdd5 so I saw there was a /dev/hdd so when I created the partition it obviously named it /dev/hdd1. How do I get it to be hdd5?

View 3 Replies View Related

SUSE :: Creating Partition For Open ?

Feb 12, 2011

I am a newbie to Linux. I am currently running Windows 7 and looking to have a dual boot system. I started by going through the Windows Control Panel to shrink the current partition. This left me with a 7.75 GB recovery partition, a 100 MB system partition, a 160 GB partition for Windows and 130 GB unallocated.

My question is (1) do I need to do anything with that 130 GB partition that is unallocated and (2) when I run the OpenSuse CD to install, how do I make sure it installs to that 130 GB partition?

View 2 Replies View Related

Ubuntu :: Creating New Partition In Terminal ?

Dec 9, 2010

How to create a partition in terminal, like using fdisk.

How to do it in command line,what are the commands to be executed and if there are best practices that I should observe when doing it.

View 5 Replies View Related

Server :: Creating Partition For Additional Lun?

Apr 26, 2011

I am using NFS to mount large LUNs from my SAN.I have one already setup and configured. I am adding an additional partition from the same SAN but I am confused on the setup. I know the LUN is connecting to my NFS server correctly because I see it listed in my /proc/scsi/scsi as an additional LUN. What I don't see is the drive being displayed in fdisk -l. I did notice one thing though, when I disable the host mapping from the SAN, my disk information changes from /dev/sdb TO /dev/sdc (see changes below)

Without host mapping to SAN:

Disk /dev/sda: 13999.0 GB, 13999026470912 bytes
255 heads, 63 sectors/track, 1701951 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


View 2 Replies View Related

Copyrights 2005-15, All rights reserved