General :: Automating USB Drive Configuration Of Partition Table, Partition And File System

Jan 26, 2011

I have tried to automate the configuration of a usb drive with not much success.

The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.

I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.

View 9 Replies


ADVERTISEMENT

General :: Shrinking Broke Partition Table - EXT4 File System?

Aug 23, 2010

In an attempt to shrink my Data partition on my 500GB drive I had succeded in shrinking it but I think I have broken the partition table as now it refuses to mount. When trying to mount I get this error mount: wrong fs type, bad option, bad superblock on /dev/sda2 I have done some searching around but most fixes haven't worked because they are based on ext2/3 File systems and this partition is ext4. Using Ubuntu 10.04 x64.

View 2 Replies View Related

Ubuntu :: Difference Between Using GPT Partition Table When Formating Hard Drives And MS-DOS Partition Table?

Aug 6, 2010

Is there a difference between using GPT partition table when formating hard drives and MS-DOS partition table? What are the advantages/disadvantages of using either?

View 2 Replies View Related

General :: USB Flash Disk Partition Disappeared As Well As Partition Table?

Feb 17, 2011

USB flash disk partition disappeared as well as partition table I'm not sure about the cause

Code:

root@u# less /var/log/syslog
usb 5-1: New USB device found, idVendor=058f, idProduct=1234
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[code]....

Where did the partition table go? The device had one ext3 partition something around 4GB(size of USB storage device). I need to restore few files from this device.

View 3 Replies View Related

General :: Recover Partition-Table Still Present In Running System?

Dec 1, 2010

I accidentially overwrote the first 1M of my harddisk on linux (using dd). So, the partition-table is gone. I can still access all partition (except the first one) using /dev/sda2 (and so on), so the data is still there. I only need the partition boundaries to restore the table. How can I do this? The Linux-Kernel must still know them because all mount-points still work. fdisk -l /dev/sda doesn't work because it acctualy reads the partition table.

View 2 Replies View Related

CentOS 5 Hardware :: Partition Table With 3TB USB Drive Using GPT?

Dec 21, 2010

I have an external USB drive, with GPT partition label. The drive is cut up into two ~1.5TB partitions When I plug this into my CentOS 5.5 box, the drive is not detected. Instead, dmesg gives me this:

usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
Vendor: Seagate Model: FA GoFlex Desk Rev: 0155
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sdh: 732566645 4096-byte hdwr sectors (3000593 MB)
sdh: Write Protect is off

[Code]...

View 3 Replies View Related

Hardware :: Unknown Partition Table On USB Thumb Drive

Jul 29, 2010

My friend gave me a flash drive with some important files on it that one day didn't work with his windows box. Upon plugging in the thumb drive, Windows gives a "you must format this disk before it can be used" message. I tried running a data recovery program (Easeus) on it but didn't have great results- only recovered some .wav files, a few .avi files and a .exe- none of which were very important, so I figure'd I'd try to mount it in Linux and possibly see the rest of the filesystem. The thumbdrive is a 2GB Lexar JD Firefly I plugged in the thumb drive and it is picked up by the system, but I can't access it. Here is the output of lsusb

[code]....

View 6 Replies View Related

Ubuntu :: Usb Drive Partition File System Rescue - Messed Up

Mar 12, 2010

Last night I was making a boot usb drive with usb startup creator onto a USB external well I, messed up and lost the partition table for 2 USB drives: my 500 gb hard drive was pluged in whilst i was doing this silly i know it was partitioned 251 gb its now showing as 500 gb but the data is still on drive it seems the file system is gone or damaged

View 2 Replies View Related

Ubuntu Installation :: Unable To Boot Into New Drive - No Partition Table

Apr 2, 2010

I'm upgrading from a 250GB drive to a 500GB drive. I booted into the live-CD, ran gparted and created the necessary partitions:

/dev/sda1 ext4 /
/dev/sda2 swap
/dev/sda3 ext4 /home

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?

View 6 Replies View Related

Hardware :: New Drive Geometry Vs. Antique Partition Table Details?

Apr 5, 2010

Are there plans to alter or improve our partition options surrounding the change from 512 to 4096 byte sectors? It seems that the DOS-world of four primary partitions is a bit screwy in a world of tera-byte drives.

View 1 Replies View Related

OpenSUSE Install :: Invalid Partition Table / Error Message Corrupt Partition?

May 20, 2010

I was installing opensuse 11.2 in parallel with windows xp.but during installation suddenly power has gone and after that opensuse is giving me the error message corrupt partition.i am also not able to login in xp. so I decide to reinstall windows, I got the error saying "invalid partition table" after the first restart of windows xp installation.

I tried to use windows system recovery console and committing fixmbr and fixboot commands, but didn't work.
i have 2 window partition(1 for windows and 1 for data).i do,nt want to format 2,nd partition.

How can I installed windows?My plan was first to install windows xp, then opensuse again.

View 2 Replies View Related

Hardware :: Invalid Partition Table For Swap Partition That Moved With Gparted?

Feb 8, 2010

I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.

I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?

View 14 Replies View Related

Slackware :: Changing Boot Partition / Bootable And Rewrite The Partition Table?

Apr 24, 2010

Everything is installed and setup on my system, but when I setup my partitions I chose my Windows partition to be bootable. Can I just use cfdisk to toggle the bootable flag so my linux partition is bootable and rewrite the partition table?

View 2 Replies View Related

Fedora Installation :: What File System Should Use To Partition A Slow And Old Hard Drive

Nov 25, 2009

What file system should I use to partition a slow and old hard drive? I know that ext2 was best for old computers which mine is not but I am using an old hard drive for extra storage and I was curious if anyone knew if using ext2 or ext4 would show any performance differences.

View 4 Replies View Related

Debian Configuration :: Jessie (Stable) 8.4 Update Unknown Partition Table Message

Apr 17, 2016

I update Jessie "stable" 8.2 to 8.4 and now I get 5 minute interval kernel messages:

Apr 18 06:39:52 OraHost kernel: [131985.494726] sdc: unknown partition table
Apr 18 06:45:03 OraHost kernel: [132295.755942] sdc: unknown partition table
Apr 18 06:50:03 OraHost kernel: [132595.946564] sdc: unknown partition table
Apr 18 06:55:13 OraHost kernel: [132906.139327] sdc: unknown partition table
Apr 18 07:00:23 OraHost kernel: [133216.340555] sdc: unknown partition table

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.

View 0 Replies View Related

Ubuntu :: Change Sda2 Partition To Ntfs - WARNING: The Kernel Failed To Re-read The Partition Table

Mar 27, 2010

I want to change my sda2 partition to ntfs type. i have installed GParted but it is returning a strange type of error. Here is the error dump file...

[Code]...

WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.

View 9 Replies View Related

Ubuntu :: Tell Kernel To Reread Partition Table While One Partition Mounted

Feb 5, 2010

Is there a program that will reread the partition table and update the kernel even if one of the unmodified partitions is mounted? I installed my system on one partition, then I added another with free space. Now I want to format the second partition, but the kernel doesn't know about it yet. I tried sfdisk -R /dev/sda, but it refuses while the root partition is mounted. Is there anyway I can avoid rebooting?

View 2 Replies View Related

Software :: Cloning Partition To Different Laptop - Invalid Partition Table

Nov 19, 2009

I'm trying to clone a Linux install to a different laptop. It's made a little complicated by two facts:

1) The 'new' laptop I'm trying to copy my Linux installation to is actually older and has a smaller hard drive then the computer I'm copying from

2) The computer I'm copying from has both a windows and Linux installation; I only care about the Linux partition.

I figured I would copy only the Linux partition from my primary computer to the laptop, sense the laptop doesn't have a large enough hard drive to copy everything. So I used the DD commands to copy SDA3 (main Linux partition) from my main computer to SDA2 of my laptop. When I came back a few hours later I was surprise to find my laptop trying to reboot itself (I never turned it off). It would keep starting to reboot, failing, and restarting itself. Not too surprising sense its boot partition wasn't changed so it's trying to boot into centos when I copied a redhat partition to it.

The problem is that when I used a redhat boot disk the rescue mode was unable to find a Linux partition to mount. /dev/sda2 exists, but trying to mount it gets the complaint "No such file or directory". "fdisk -l" lists sda1 (the boot sector) and sda2. Sda2 is the correct size and reports Linux LVM for its system. But "fdisk -l /dev/sda2" gives the error message "Disk /dev/sda2 doesn't contain a valid partition table" Did I not clone the drive correctly, or was an error caused due to the boot sector not being copied yet (the laptops boot sector is smaller then my old computers, so I can't copy from old computer to laptop)? Can I salvage the laptops partition table somehow, or do I have to repeat the cloning process? And if I do have to re-clone my computer can anyone tell me what I did wrong the first time so it works this time? I don't care if I copy just the Linux partition or both windows and Linux. Even though my main computer has a larger hard drive I'm only using about half of its available space so it should be possible to copy both partitions if I could ignore the unused sections of the harddrive.

Edit: I used DD to copy a tiny part of the Linux partition from my laptop so I could look at it. Most of it is illegible binary of course, but I scrolled through till I found some text right near the beginning:

Code:

VolGroup00 {
id="F2MWxh-....-BidcLe"
seqno = 1

[code]....

So it seems that the DD command did copy everything over to the laptop, which is good to know. I noticed that it says device="/dev/sda3" right in the middle of the code I just posted. The Linux section of my original computer was SDA3 but I copied it to partition SDA2 of my laptop. So is the problem because the boot partition is for the wrong device? I don't suppose if I modified that one line to say SDA2 it would be able to load correctly? (Not that I know how I would modify the line, short of using the DD command again).

View 8 Replies View Related

Ubuntu :: System Not Booting - Partition Table Broken

Sep 15, 2010

When I start up the thing says "The symbol 'rtoul' not found. Aborting", then it ether boots from a CD, or beeps offensively at me.

[code]...

I have a GRUB backup pen drive thing, but when I boot from it, it wont accept any keys other than CTRL+ALT+DEL. The partitions can be mounted and are usable, but home is encrypted. I don't want to delete my files.

View 9 Replies View Related

Ubuntu :: GParted - Hard Drive Is Not Partitioned And Has An Unrecognised Partition Table ?

Jul 31, 2010

GParted tells me my hard drive is not partitioned and has an unrecognised partition table, but I know it has because i'm using it now to write this on here, and fdisk shows the following:

Quote:

Anyone know of anyreason GParted may not be working or can offer an alternative to create a partition?

View 3 Replies View Related

Ubuntu :: Partition Outside The Disk - Corrupted Partition Table?

Oct 5, 2010

What I believe has happened is that I've corrupted the partition table. Essentially one of my partitions' ending point exceeds the maximum number of cylinders/sectors on my drive.

Essentially I have the same problem as on the thread @ [url] but do not know how to fix this and am afraid to reformat/partition based on sectors without really knowing what I'm doing here.

[code]...

When I try to look at SDA in GParted everything shows up as unallocated (though it's obviously not) and it says

[code]...

View 2 Replies View Related

Ubuntu :: Partition Table To Remark Partition As BTRFS ?

Jul 29, 2011

In my efforts to resize my BTRFS Partition, I accidentally unmarked my BTRFS partition as being BTRFS, and can't mark it back as I can't find the numeric ID for BTRFS and how to apply.

View 1 Replies View Related

Fedora :: Deleting Dev/sda Partition Table (msdos) Affect Windows 7 System?

Aug 5, 2011

Will deleting dev/sda partition table ( msdos ) affect my windows 7 system? I am trying to install Fedora 15 on Virtual Box.

View 1 Replies View Related

OpenSUSE Hardware :: Destroyed Partition/File Table?

Jan 19, 2010

I was trying to perform a new install, so sensibly made a back-up of my data to my external drive. Unsensibly, I didn't unplug the disc before starting the install and the install trashed the partition table/FAT on the external drive.I've used disktree and can "see" that the disk has lots on it, but I cannot access it.

View 9 Replies View Related

Ubuntu :: Rebuild Partition Table Or Create RAW File?

Jul 12, 2010

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?

View 6 Replies View Related

Debian Installation :: Define Partition Table Type In Preseeding File?

May 5, 2010

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).

[Code]...

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)

View 2 Replies View Related

Ubuntu / Apple :: RFIt Partition Tool Not Working - Error: "MBR Partition Table Is Invalid, Partitions Overlap"

Aug 23, 2010

I installed Ubuntu as shown in the wiki and when I went to restart it gave me a lovely blinking cursor and nothing else. So I held down option, loaded into osx, reinstalled rEFIt and got my menu on startup. Unfortunately, the partition sync tool doesn't seam to be working, it gives me an error: Status: MBR partition table is invalid, partitions overlap. Error: Not Found returned from gptsync.efi

View 9 Replies View Related

General :: Change F.s. Id In Partition Table ?

Jun 11, 2011

A couple of years ago, I got a 2TB drive and installed Debian on it.

I used the standard installation procedure, as I recall, and created three partitions, which are shown below in the output of "fdisk":

View 7 Replies View Related

General :: Create Partition Table ?

Jul 27, 2010

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?

View 9 Replies View Related

General :: Partition Table Raw Data Using Fdisk

Apr 27, 2010

had trouble viewing partition table using fdisk, now realised i just cudnt view the whole table from Rescue terminal, please remove this thread, i can't find how ))

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved