Ubuntu :: Disk In Use Error When Attempting To Format An Empty Partition?
Sep 8, 2010
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!
View 2 Replies
ADVERTISEMENT
Feb 23, 2011
I had a drive with a partition layout like so:
~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat
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.
View 9 Replies
View Related
May 26, 2009
The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the partition has 92MB used. How is this space being used, and how can I free it up?edit: I guess this isn't a newbie question.
View 7 Replies
View Related
Nov 16, 2010
I've had Ubuntu 10.10 installed for a while and I recently cleared a partition to install Windows XP. However, when I load from the Windows XP boot CD, I get "7379one MB disk 0 at ID 0 on ?Bus 0 on atapi(Setup cannot access this disk)". I've tried just about everything
View 4 Replies
View Related
Sep 10, 2011
I have a broken DVD drive and no others available right now to burn a DVD iso to so I'd like to use a empty hard disk instead.
I've tried Unetbootin but that only copies a few megabytes of files - the rest of the image data in the ISO is ignored.
I have verified the ISO is valid and working with VirtualBox. It's MD5 hash is also as expected. But I need to boot at the real bios not an emulated one.
I've also tried things like:
sudo cat /disk/image.iso > /dev/sdb1
and that got "Permission denied" -
View 3 Replies
View Related
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.
View 2 Replies
View Related
Dec 4, 2010
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).
View 4 Replies
View Related
Jul 18, 2011
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!
View 12 Replies
View Related
Mar 31, 2010
I'm new to linux and this is my first post. I have two SATA hard disks of 160 GB each. I have windows 7 on one of the disks and the other one is left empty (Unused). When I tried to install open SUSE 11.2, I select the expert partioner. I could see the disks as,
and not as /dev/sda or /dev/sdb. Under the disks section, i could see sda and sdb. But when i tried to select sdb and try to add a new partition, I get a message, "Disk in use, cannot add partition" .I want to install SUSE on the unused disk.
Configuration:
motherboard: asus p5n e sli
grapics: nvidia quadro 540
cpu: intel core 2 duo
hard disks: Seagate 160GB x 2
View 9 Replies
View Related
Aug 1, 2010
I recently bought a SSD and decided to give the majority of the space to windows for production purposes I gave 3.5GB for ubuntu but that filled up rather fast so i decided to move the folder taking up the most space to another partition which is /usr.
I tried moving the /usr to another partition and using a symbolic link but that didn't work so i'm trying (and would prefere this method anyway) to use fstab to do it
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].....
View 3 Replies
View Related
Sep 18, 2010
How would I combine a empty partition with my existing partition? A reinstall is just an option and I need more disk space
View 2 Replies
View Related
Feb 27, 2011
think my partition table is messed up but i am not really able to fix it with my little knowledge about testdisk and fdisk. This is what the command fdisk -l -u reports:
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
[code]....
View 5 Replies
View Related
Jun 29, 2011
I was upgrading Ubuntu to Natty last night, but it crashed just before completion. Then, I couldn't mount the drive so I'm now booting it from the live disc. I go into gparted, but it gives me an error saying:
Can't have a partition outside the disk!
I have /root and /home in separate partitions, so I must find a way so that /home can survive. I've run testdisk and this is what I get:
Code:
Disk /dev/sda - 160 GB / 149 GiB - CHS 19458 255 63
Partition Start End Size in sectors
>* FAT16 >32M 0 1 1 14 254 63 240912 [DellUtility]
P FAT32 LBA 15 0 1 4192 254 63 67119570 [NO NAME]
[Code].....
There are only 2 Linux partitions, Linux and Swap, so it seems that my /home has disappeared! Is there a way to recover it? Also, how do I fix Gparted's complaint?
View 9 Replies
View Related
Jan 2, 2011
I'm running 10.04 on Wubi in XP and want to partition to dual boot properly. I've done the permanent grub-update issue fix for Wubi so I've got the time to figure this out, I'm just at an impasse right now.
I've tried both GParted and PartitionMagic Live CDs and have been unable to shrink my main partition down. It's currently at 45 or so GB with about 22 GB empty. I've turned off my virtual memory in XP as well and no dice. I keep getting the error in GParted during the shrinking process. It doesn't really explain why, though.
View 9 Replies
View Related
Mar 13, 2011
HP 6930 laptop
120GB HDD
It had Win7 64bit installed across the whole drive (100MB sys reserved and C: taking up the rest), I was successfully able to shrink the C: partition to 60GB. So I know have a working copy of Windows 7 on 60GB with 60GB or free space. I boot to 11.4, the installer works great so far and is real fast, I get to the spot where I choose my partitions for nix(tried both auto and manual) then I click OK at the warning to start writing to the disk and ....error 1007, the installer is unable to create the partitions.
View 5 Replies
View Related
Dec 29, 2010
I have Ubuntu 9.10. The batter drained several days ago, and now when I attempt to boot I simply get a string of indecipherable error messages which last for about 5 minutes, and the screen then goes completely black. I am not able to even get to the login screen. Windows 7 Starter boots fine, so it's definitely a software issue. Any solutions short of completely reinstalling? I really don't want to lose all of my data.
View 2 Replies
View Related
Jul 5, 2011
I'm getting the following error which seems quite odd. Trying to change the server to my local country's update server results in the same error (with slightly different URL). I've also disabled any extra repositories I was using.Code:W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/ReleaseUnable to find expected entry extras/source/Sources in Meta-index file (malformed Release file?When trying to upgrade to Natty I get the same error, just for the natty path:Code:W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty/ReleaseUnable to find expected entry extras/source/Sources in Meta-index file (malformed Release file?)
View 1 Replies
View Related
Sep 1, 2011
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.
View 9 Replies
View Related
Jan 18, 2010
So I tried adding a new, 2nd hard drive to my Ubuntu 9.04 desktop for some additional storage and only managed to kill my system so that it won't boot up anymore (I just get a blinking cursor after the BIOS does its thing).I could sure use a little help getting back to a functioning system, and then adding the second drive. I tried following the instructions from this link to add the 2nd drive:
(So the forum rules won't let me post the link, neato. Here it is with spaces added):
h t t p s : / / h e l p . u b u n t u . c o m / c o m m u n i t y / I n s t a l l i n g A N e w H a r d D r i v e
[code]....
View 1 Replies
View Related
Sep 30, 2010
I have a PC with Windows 2000 Pro installed in an NTFS partition of 60GB. My rest hard disk (500GB) is empty, no partition at all. When I run Ubuntu 10.04 installation after step number 3 I get a weird step number 4 showing prepare partitions with an empty array and no available command button at the bottom! So I can not create any partition... Also in step 4 I never see the "prepare disk space" menu. If I use a 9.04 Ubuntu CD and I try to install I get every menu fine as expected. I even tried the 10.04 CD to another PC with Windows XP PRO and the installer worked as expected for partitions.
View 1 Replies
View Related
Aug 7, 2010
I currently run a dual boot with Windows Vista and Ubuntu Lucid. I have been using Ubuntu for quite a while now, but kept around Windows "just in case." I have decided that keeping Windows is unnecessary and my Ubuntu partition is running out of space. I was wondering how I could format the Windows partition and add that space to the Ubuntu partition without having to format my entire computer.
View 2 Replies
View Related
Sep 27, 2010
I've been getting this error message:"The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."a few times, and it turns out to be because of low disk space. No worry, I empty the trash uninstall unneeded programs and clean out the downloads folder that filled up my disk. And all is ok. But not this time.Since I can't use X, I delete stuff from the terminal, and also make sure to clean out the .Trash in both /home and /root. But still the disk is full. I delete more stuff, but it doesn't even seem to go to .Trash. It disappears, but no more disk space.
View 8 Replies
View Related
Jan 20, 2011
I would like to fix partition alignment on my SSD disk, and I am curious if it is possible to do it without handling data from disk and back. Is it possible with Gparted?Quote:
$ sudo fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
[code]....
View 2 Replies
View Related
Dec 15, 2010
I was trying to install a newer version of Firefox and thought I would just try to install the newer RPM for Fedora without doing anything else and this dialog message appeared.
Could not do simulate: Can't install /home/kbs/Downloads/firefox-3.6.4-0.4.build6.fc13.remi.i586.rpm as no transaction
View 2 Replies
View Related
Sep 1, 2009
We have a server running suse 9. I had to do a reboot yesterday. the server dropped off the network, but did not reboot. It was attempting a connect, but I don't know why or to what. These are the lines that I saw on the screen:Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1) ))
View 1 Replies
View Related
Jan 20, 2011
So the other day I got myself a nifty ThinkPad x100e. I immediately removed windows 7 started, and installed UNR 10.04.It has a 250GB hard drive, which I decided to partition, so that I can keep all my stuff on the new partition, and then a fresh format or install of the OS would be easier.After struggling to take ownership of my own damn partition after creating it and mounting it, I discovered a rather interesting problem. I KNOW the partition is empty, but when I right click and go to properties, it says that 10GB is already used? This is rather confusing to me
View 7 Replies
View Related
May 11, 2010
I need to change my LUKS partition to NTFS as I do not need the boot partition any longer, but I need to keep sdb3 (truecrypted ext3) intact. This is how the disk looks now:
Code:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
View 2 Replies
View Related
Jun 10, 2010
I'm having a problem getting likewise to connect to a Windows 2008 R2 server on our network.
[code]....
Error: Lsass Error [code 0x00080047] 9502 (0x251E) DNS_ERROR_BAD_PACKET - A bad packet was received from a DNS server. Potentially the requested address does not exist. I have already read up on this a little bit. Both servers are within a minute of each other, so I am not concerned about server timing. I am not sure where to go from this point. Everything I have read seems to indicate that this should "just work".
View 9 Replies
View Related
Jun 17, 2010
I noticed that a bit after I had updated Ubuntu 10.04 through the Update Manager, I couldn't print at all! (I run ubuntu 10.04 on my laptop and have a networked HP Officejet 6110xi all-in-one printer connected to a comp running Windows XP home on the same LAN). Everything works when I boot up in windows vista, so the problem is definitely in Ubuntu.
First, I checked the printer jobs and it said that there was an error with a filter or something. Restarting the job didn't do squat, so I decided to try reinstalling my printer, but get the same CUPS error "error-client-not-possible" right after I click "Apply". I then Googled the issue but didn't find much of anything, so I thought I'd try reinstalling CUPS. No luck there either... Same error again and again.
View 3 Replies
View Related
Nov 24, 2010
I am having some problems uninstalling wubi. Its not in the uninstall programs or coming up and a boot option when i boot my computer anymore. So i went out and downloaded the newest version, and tried to install it. Cause i thought that it had been removed maybe by anti-virus or something. When i clicked on it to install it said i had a previous version that i had to uninstall. So i clicked OK. It started to uninstall and then i got an error message. I tried it again and got the some error message.
[Code]....
View 1 Replies
View Related