Ubuntu Installation :: Partition When Hard Disk Is In Format?
May 20, 2011
This is my situation, I had installed Ubuntu in my whole drive in 640Gig. Now, I want to partition it, without affecting my Ubuntu operating system. I just want 320Gig for my Ubuntu and 320 for my Windows.
I know how partition using Windows but from Linux, that I don't know.
I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.
My primary drive is 250GB and has the root, home and var (I'd read it's good to put var on a separate partition for MythTV which I'm planning on doing) on separate partitions. I have a second 1TB drive that I'll be using to backup the 250GB drive and also host less critical data. I've created two partitions on this drive, one 250GB and the other covering the rest of the drive. I'd like to move the Videos directory out of Home on the 250GB onto the 1TB drive but can't find a definitive way of doing this. Should I just follow this guide for moving the home folder to a new partition? Next question is when performing a backup of the 250GB drive how do I make sure it's going to the 250GB partition on the 1TB drive? Can the different partitions be mounted separately?
After I have installed all my programs, I need to install windows and I need visual studio. So I was thinking of taking 20 GB from the /home directory and using that for windows. I can use gparted. However, many posters on here think it is best to use gparted by booting from the disk. However, I cannot do this, as I don't have any DVD drivers. And I can't really afford to buy one just for this reason. What is the best way to do this?
I have just install debian-7.7.0-i386 on my home pc. I want to configure samba 4 in my Debian box. How may I create Hard Disk partition of 500 GB for a samba server. The professional way i want.
I want to add Fedora 14 to my triplecore 3GB RAM computer which has windows, Fedora 12 & ubuntu installed. What are the recommendation (e.g. size) for harddisk partition allocation? I can reuse the swap partition, can't I? Should I install Fedora 14 to a single partition (ie. /)? Should I use only ext4?
just got Fedora 15 up and running and i have a 2nd internal HDD which i want to use for backups only, how do i format it exactly, mount point? file system? I've tried few options but when i try to point at it with Deja Dup i can't access it?
I'm trying to resize a partition on an IDE hard disk to use the entire disk but can not get more than a 309GB partition. I can get 295, 300, 301, 302GB, etc... fine but start getting problems with anything over 309GB. I get the following error with 310GB or more:
error: block relocator should have relocated 533 Warning: You should reinstall your boot loader before rebooting. Read section 4 of the Parted User documentation for more information. I am using Slackware 12.1, GNU parted 1.8.8, ext2 filesystem.
I have a server with two hard disks SATA (500 GB), I installed centos in one of them, desire to know how I can mount the other hard disk empty and without format, so that this hard disk always appears mounted when "reboot" the system.
A part of my hd is ntfs (where I keep my windows and windows files). I edited it to be flagged as "bootable" in the disk tools that comes with ubuntu 10.10, and now it wont list as a file system in ubuntu (in other words I cant access it).
The 400GB has the OS and SWAP while the 1TB are going to be used as storage....
Now for the problem, when I have both the 1TB drives in I can not format or mount either 1TB drives. Says Device is in use or "The device file '/dev/sdc1' does not exist"
Now if I take one of the 1TB drives out I can format, partition, and mount it no problem...it only seems to be a problem when both drives are connected...
Just ran into a problem involving mdadm, a disk which had been in a raid array, and an attempt to reformat. Basically, I went to reformat some partitions which had been in raid, and one of them threw the error andy@andy-desktop:~$ sudo mkfs.ext3 /dev/sdb5 mke2fs 1.41.11 (14-Mar-2010) /dev/sdb5 is apparently in use by the system; will not make a filesystem here! An attempt to umount revealed it was not mounted. lvdisplay and fuser did not reveal anything to me, so I just started looking around. I was graphically navigating /dev and noticed a /dev/md_d0 which did not look like /dev/md_d1 etc (it was missing a little arrow). I had not seen this notation before (my raid was md0), but figured it couldn't hurt to try stopping it.
andy@andy-desktop:~$ sudo mdadm --detail /dev/md_d0 mdadm: md device /dev/md_d0 does not appear to be active. andy@andy-desktop:~$ sudo mdadm --stop /dev/md_d0 mdadm: stopped /dev/md_d0
After this, the partition formatted fine! I saw a lot of instructions including zeroing the partition and removing a logical volume, but the above was the only thing which worked for me! Just posted it in case it helps someone else. I know I've not been terribly technical!
i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.
I just added a 2nd SATA drive to my openSuse 11.2 desktop. What do I do now to partition and format? I want to partition some of the new drive for linux, and leave some of it unpartitioned for Windows (I dual boot). I want to leave my existing 1st drive as is. What tool do I use? How do I proceed?
I got a new hard drive 2TB for extending the storage. I am working on fedora15 and would like to format the disk as a linux partition and external hard drive. me how to format this disk and partitioning!
i have instaled ubuntu 11.04 wubi on my pc with windows 7. i installed and everything was going ok i navigate on ubuntu already. but the problems star here i went on my ubuntu to the partition section and i format my windows partion to be the home partion and changed the nfts to ext, i did the upgrades but i forgot that theyr running yet and i restart my computer when it boot again it gaves me an error:
try (0,0) : nfts5 : wubildr try (0,1) : ext2 :
and the windows7 says that i have to instal again. so i went to another pc and i made a cd boot and a pen boot. i burned the iso (downloaded from the ubuntu oficial site the 11.04 32 bit version) image to the cd and pen drive prperly, i adjust my boot options to star from usb or cd rom and nothing im struck.
When I installed Lucid several months ago, I went ahead and let Ubuntu use the entire disk. Since then I have learned more about partitions and came to realize that I didn't have a separate /home partition, meaning that clean installs of new Ubuntu releases would wipe my data. I would like to carve my hard drive up from the LiveCD environment while preserving my current data and Lucid installation.
My computer has Windows and Ubuntu operating system and each is located in separate partition (dual boot).Now the disk space of Ubuntu partition is about to run out. I wonder how I can increase the disk space of Ubuntu partition.
have Debian "testing" installed. During the installation I selected to have a separate /home partition. / partition is ~10Gb, and my /home is ~300Gb. I didn't think I would need more than 10 for /.The other night, Debian informed me that I had 0 bytes remaining on /. I purged /temp an went about my day, only to be greeted with the message again the next morning.I've tried shrinking /home and increasing / via an Ubuntu live CD with GParted, but for some reason it did not want to work. However, I am beginning to suspect that my /home folder is occupying the / partition, and not the separate /home partition.Output of fdisk -l
Code: Device Boot Start End Blocks Id System /dev/sda1 * 1 1216 9764864 83 Linux /dev/sda2 1216 38914 302803969 5 Extended /dev/sda5 1216 1974 6082560 82 Linux swap / Solaris /dev/sda6 1974 38914 296720384 83 Linux
On my embedded linux box, running on Linux Kernel 2.6.9 embedded with BusyBox utilities.
An Objective are follow: 1/ To figure out how many partitions are on the hard disk 2/ Create a extra partition about 10GB size on the hard disk 3/ Format the partition and mount var on that partition
Only utility to perform above operations I have "sfdisk" utility from BusyBox collection. Which get installed at the time of image flash in to ROM (8mb ROM size). The following is the root directory structure where hdd as a directory mounted /mnt/hdd1
Code: ~ > ls bin etc lib proc sbin sys var dev hdd mnt root share tmp var_init Within /bin sfdisk utility can be used which I tried but no avail.
Code: ~ > sfdisk -l /dev/hda /dev/hda: No such file or directory sfdisk: cannot open /dev/hda for reading ~ > sfdisk -l /dev/sda0 /dev/sda0: No such file or directory .....
i have Cent OS 5.2 CD (6) with me. I need to install it in my hard disk. I have already installed Windows XP in C: partition. I need to install Cent OS in D: partition. During installation process its asking for hard disk partition. In this regard, how to select the partition. I have C,D,E and F partitions and C,E and F are in common use. So i have to install Cent OS in D partition.
I set up a Windows partition and an Ubuntu partition in my laptop and each partition has about 60 gigabyte of disk space. Recently I keep getting messages that the disk space in my Ubuntu partition is almost full. How is it possible since I only have computer programs which I absolutely need?
Basically, I just installed Ubuntu over Windows Vista because I was getting fed up with the performance on it. During install I set up a partition, one for Ubuntu and one for data. However, my second, larger partition gives this error when I try to mount it... Error mounting: mount exited with exit code 12: Failed to read last sector (976764927): Invalid argument
Hints: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda1': Invalid argument The device '/dev/sda1' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
After 2-3 partition an extended partition automatically created in which I am not able to create specified capacity i.e., say I want 150g of /photos partition, the /videos partition is automatically reduced and a free space at the end appears. Some free space is always there which i am not able to understand. Nevertheless i clicked to create, but I get an error viz. 'device not created'.
I want to install Cent OS5 on my machine. The Hard Disk is SATA. I want to discuss about how to custom partition the hard disk. In the old version there is a drop down list for manual partition the hard disk. like /,boot,swap,var etc etc. In the new version of centos 5 I can not see things like that. During installation process and in partition page there are things like:
Code: Remove all partitions on selected drives and create default layout. Remove Linux partitions on selected drives and create default layout. Use free space on selected drives and create default layout. Create custom layout.
When I choose custom layout it show me an error message. "An error has occurred-no invalid devices were found on which to create new files system. Please check your hardware for the cause of this problem."
I wanted to implement raid5 such that one partition is from my laptop's hard disk and others from other hard disks. After making one partition a raid partition, I rebooted the system. The computer stopped mid-way during booting, and brought me to the shell. On typing fsck -p, it told me an unexpected error occured in the partition which I had made for raid. Is there some condition that we cannot boot from a disk containing one of the raid partitions ?