Debian :: Unable To Create A New Partition Table And Format?
Apr 6, 2010
I have an unallocated space at the end of my hdd, which is about 10 gb. I installed Pardus on that space, but then deleted the partition to install something else (I know I did not have to delete it, I could simply install the new thing over it), i dont remember exactly how, but it was from my Debian System, not from a LiveCD.Now, I am unable to use that space. GParted gives an error and says:Warning: the kernel failed to re-read the partition tableon /dev/sda (Device or resource nusy). As a result, it may not reflect all of your changes until after reboot.
I used a Kingston 8Gb flash drive as a live usb recently (copied the live iso image over using dd). I am done with the installations and all but seem to have a problem. i cannot format my flash drive. It now shows as a live CD (800 or so mb). Is there a way to fix the partition table back? I guess if i copy a partition table image from some other 8 gb drive that might fix the problem but i dont have any other flash drives. Is there a solution possible or am i stuck with a live usb forever
I have a problem with one hard disk,now it says its Unallocated,and i tried to create a new partition on it,but it says that first i need to create a partition table,but when i create one,choosing msdos label,it doesnt to nothing. I used Gparted in Fedora,how can i create a partition table,so i can use my hard disk again?
I need to be able to access the files on the image of a hard drive created with ddrescue. The original drive had bad, unreadable sectors, and was corrupted in a way that damaged the partition table. It was formatted NTFS, but because of the corrupted partition table, nothing recognizes it as such anymore. Is there some other way I can mount it, rebuild the partition table or create a RAW file tree out of the image file?
I have a 4gb SDHC card that has been partitioned with an ext2, linux swap, and fat 32 partition that I use in an Android phone. After I partitioned it this way, which I have done more than once with no problems, it quit mounting or being recognized by Android, Linux, or Windows. Windows can tell there is something there but can't mount it, Debian and Android just say it's not there. I need to try to fix the partition table which gparted told me was corrupt the last time gparted could see it.
then I used dd to transfer data from the old drive to the new drive. Now I am unable to boot into the new drive. I tried to boot again from the live-CD but fdisk reports that the drive has no partition table. I can still mount the devices (e.g. mount /dev/sda3 /mnt/sda3) and I can see all the files. But without a partition table, I can't set one partition to be bootable. Why doesn't gparted create a partition table? it created the filesystems just fine. how do I boot into the new disk? What do I have to do to make grub handle the new disk?
I'm trying to install Ubuntu Netbook Edition 10.10 on my Eee PC 1015PE. but it appears that GParted which is used to partition the HDD is unable to successfully display partition table, it just shows that /dev/sda is all unallocated, and it offers just to create new partition table.
When I start gparted, to see if I can add extra harddisk where all my data is, I get the next error:
Code: [root# gparted libparted : 1.9.0
The kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot. You should reboot your computer before doing anything with /dev/sda. I can start fedora 12 x64 amd whitout any problem. My partition layout on a single disk (80 gb sata maxtor) for the system is: Code: / /home swap
When I try to mount one of the extra disks (samsung spinpoint 1 tb, I have 4) I get to next error: Code: root# mount /dev/sdb1 /media/sdb1 mount: you must specify the filesystem type
If I add the option with the filesystem I get: Code: root# mount -t ext3 /dev/sdb1 /media/sdb1 mount: special device /dev/sdb1 does not exist
In gparted, when I select just a flag option, and deselect, press ok, the disk is forced to be reread by the program. After that I can also mount it. When I use any of the programs linked in this post, I am able to mount the disks whitout any problem. Except after a reboot, I get the same problem. SO whit each reboot, or poweroff, I need to do a re-read of the disks. The system is fedora 12 x64 for amd, installed from a live cd, the rest whit yums groupinstall, the latest kernel.
I have a 6TB external eSata bay (Lacie BigQuadra). I made a GPT table with only one big ext4 partition. All was ok. I resized the ext4 partition and I created a 1TB NTFS partition. I can use it on Kubuntu but Windows 7 tell me the partition is not formated. When I go back to Kubuntu, parted tell me that the secondary GPT table is not at the end of the disk and tell me it's probably an other OS that thinks the disk is smaller that its real size. It seems Windows 7 thinks the disk size is 2 TB (and modify automaticaly the GPT table and create a secondary GPT table on the middle of the disk).
What can I do to make my NTFS partition visible in Windows 7? What can I do to prevent Windows 7 to move the secondary partition table on the middle of the disk and to modify the primary GPT table ?
I have a Dell mini 9 with a 16GB SSD. At one time I had Hackintoshed it to run OS X. Went back to original OS(Ubuntu 8.04 LTS). Had some issues installing 8.04, apparently MBR was lost, or corrupted, so had to re-install grub and was able to complete the install. The issue is under partition ed. it shows dev/sda1 flagged as boot, with a yellow triangle, file system unknown, size 23.5 MB. When you double click the partition it shows status as unmounted, reason 1. file system damaged, 2. file system unknown to gparted, 3. no file system available (unformated). So I decided to try to formate the partition with ext2, or ext3 it fails with no detailed info. as to why it has failed. There is also no swap partition showing up? why this partition seems to be untouchable? When you right click the partition the options are delete, format, and manage flags. I am afraid to delete partition as this is flagged with boot, and cannot format.
I had 40 gb of unused space at the beginning of my drive, then a 15gb primary ext3 partition for /, then a 100GB ext4 primary partition for /home, then a 4 gb extended partition that contains two 2 gb swap partitions.
I installed FreeBSD on the empty space at the beginning of the drive. The slice I created did not start on the first block. There were a few MB of free space before and after it.
After the installation finished (with no errors), grub would hang on the "Grub loading/Welcome to Grub screen". I booted a squeeze CD in rescue mode and reinstalled grub to /dev/sda. After rebooting, Grub still hangs at the same place.
I booted a live CD and checked the output of fdisk. For each of my partitions, it says "Partition does not end on cylinder boundary". I am hoping that whatever happened to my disk is not recoverable. Fortunately, I backed up some essential files beforehand, but I still don't really want to lose my old squeeze system.
had a bad experience when Fedora 15 overwrote the ext4 partition of a data disk to MVL during the installation process.I cloned the HD and now I am working on it. However, my first attempt resulted in 900.00 number-renamed files into the lost+found folder. And that's not what I want: with this number of files I need to recover the directory structure and the files real names.I know this is a hard issue for being discussed in the forum and that I shall look for some expert help, but, I wished to useis bad moment as an opportunity of learning.
I have just installed the newest Debian Stable 7.8 release on my new notebook. Before installation I had to free some disk space from the preinstalled Windows7 with ntfsresize and fdisk. In addition to the existing three primary partitions I created an extended one with three logical partitions for /(root) /home and swap, see the output of 'fdisk -lu'
For some reason I put a bootable flag on sda7, and the only small concern during installation was that some BIOS systems might not work with boot-flag no logical drives. Now, every time I boot I get this "Invalid partition table!' message which I must 'enter" away before I get to the GRUB menu.
i have got an Debian Lenny NAS with 7x1,5TB of a Softwareraid5. Kernel Version is 2.6.32. The Raid ist mountet in /media/raid5. The System ist on a seperate disk and work fine. After i tested the performance of the raid with:
Since i had done this i cant find any Data on /media/raid5. cat /proc/mdstat and mdadm --detail /dev/md0 looks fine. All UUID's are good. But: The SuperBlock is unreadable and the partition table was not found. mke2fs -n /dev/md0 shows some Backup of the Superblock , but i cant repair it with fsck.ext4: Illegal inode number on /dev/md0.
I am trying to create a multi-partition USB key to use to kick multiple OS's whenever I need (1 NTFS partition for Windows image and data storage, one ext3 for boot, another ext3 for Linux distros iso storage and the last one as a Fedora live usb with permanent storage).
I am using a Kingston Data Traveler G2 16GB usb key and I have absolutely no problem to create the partitions and all looks fine. The problem I encounter is that although I can format the 1st partition on the usd key to any fs I want, I am unable to do the same on the other partitions. I tried fdisk+mkfs.XXX (ext2, ext3, fat, vfat, ntfs) and gparted, and no luck.
mkfs.XXX gives me no errors when I run it but when I try to mount the partition in Fedora 14 the OS is unable detect the fs. Gparted allows me to format the fs, gives no errors, shows a format successful message, but when it re-scans the device the fs appears as unknown.
I know it is possible to do this as I had a DataTraveler 101 16GB and it was working fine until I lost it.
I'm trying to define the partition table type (I want to set it to msdos) for an automatic installation using preseeding file. (Why? I want to setup a software RAID 1 with two 2TB disks, by default the installer uses gpt partition tabless on those disks, where it's tricky to install grub(2), as there is no mbr, and the root partition is on a md device) During manual installtion it is possible to set the partition table type (by setting debconf priority to low).
Does anyone know what I have to put in my config file so that a msdos partition table will be created Also any other solution is welcome. I just want to have my root partition on a raid 1 and have grub installed, so that it boots up (No other OS is installed on the boxes. Debian squeeze is used)
I believe this has something to do with an mdadm update which was included in the release. When I configured the array, I didn't partition the disk devices, so maybe that has something to do with it. I am thinking of rebuilding the array and partitioning prior to build, but a quick fix would be referable.
And also something appears to have happened to the raid device since the update.
Prior to update, the array was /dev/md0 - now it is /dev/md/0 which is a symbolic link back to /dev/md0.
mdadm --detail --scan now reports /dev/md/0 where previously it reported /dev/md0
I created a new RAID1 array on a fresh system and immediately after the create, these messages appear at 5 minute intervals.
I am new to debian and recently I have been working with a debian server. I have been asked to find out how to create a script that you can run or can be run by another program to format and mount a new hard disk?
i tried installing windows 7 on a partition on my laptop but i'm getting this message:"setup was unable to create a new partition or locate an existing system partition "i tried googling and found that it has something to do with the number of partitions:my hard disk layout right now:
my school we want to print a magazine but we have problem with the format of the files. We need to create a sheet in A3 format from two sheets in A4 format. I was reading about the pdftk library but it doesn't do what i need.
I have this hard drive with ~ 500 Go of unassigned space. I'd like to create a partition to store some backups but Yast 2 expert partitioner refuses to add any partition on this drive. A window pops up telling me:It is not possible to create a partition on /dev/sda/I am working in opensuse 11.3 (recently upgraded from opensuse 11.2)Linux linux-vytp 2.6.34-12-default #1 SMP 2010-06-29 02:39:08 +0200 i686 i686 i386 GNU/Linux
So I was just partitioning my hard disk to get it ready for installation of multiple Linux distributions and that's where it happened. I booted up my notebook using an Ubuntu 10.04 Lucid Live CD and used GParted to partition my hard disk.
First, I created an extended partition that would cover my whole hard disk (don't worry, I backed-up everything twice and stored it on my server). Then, I decided to skip the first GiB of my hard disk and started creating multiple ext4 partitions (10 GiB each) and labelled them so I'll be able to tell which partition contains which distribution later on. When I was satisfied with the result, I created multiple 100 MiB ext4 partitions at the very beginning of my hard disk (the first GiB of unallocated space, remember?) which I'm planning to mount as boot partitions for each distribution. But, when I successfully created 16 logical partitions in total, GParted refused to create a 17th partition, let alone an 18th and so on...
Now my question is: is GParted unable to create more than 16 partitions on a single hard disk, or is it a known fact that an extended partition cannot contain more than 16 partitions (so that it would be wrong to blame GParted for this). So, is it possible for me to create more than 16 partitions using a work-around or manually partition my hard disk using the terminal, or should I not create as much partitions on my hard disk?
I am trying to install Elementary OS on my laptop! When the installer gets to partitioning part, I find about 90 GB of unallocated space on my hard disk. When I try to create a partition in this space, the partitioner very humbly informs me that it is not possible to create more than 4 Primary partitions. Now my partitioning scheme (rather jumbled up!) is attached herewith.
/dev/sda2 is extended partition with sda5 to sda10. /dev/sda3 was a fat partition that I used to store my data (I deleted it) /dev/sda4 is another primary partition. Windows Vista sits on sda1 Ubuntu sits on sda5, sda6 and sda7 and Sabayon sits on sda9, sda10 and sda4. Now I have three unallocated disjointed spaces (approx. 5GB, 20GB and 92GB)I had selected the third unallocated space (92GB) to create a new partition for my fresh Elementary OS install but I am faced with the 4 Primary Partitions limit.My partition table is a total mess! Can anyone suggest a way out ?
I have created live persistent usb-hdd (fat32) image, put into USB stick, but now I should create persistent live-rw partition. How this persistent partition should be formatted? Should I format with ext2, or fat32?
I just downloaded the new fedora and proceed to install it into a free space of 11GB on my HDD. As such the partitioner is unable to create more than 1 partitioneven if free space is available, it reports not enough free space seen if its present. As such it can create only one of the three partitions i.e., swap or / or /home duw to which cannot proceed ahead.' Some more details me running Xp as the other OS on my system.