Ubuntu :: Dd From Small To Large Drive Results In Bad Superblock?

Feb 10, 2011

I'm trying to 'upgrade' my 500gb drive to a bigger 1tb. I thought it would be as easy as using dd from the smaller to the larger then swapping them. However, after using dd, although the partitions seem to be there on the 1tb drive, they all have a bad superblock and can't be mounted.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Cloning Root Drive From Large To Small Partition?

Nov 12, 2010

i am running ubuntu 10.10 and windows7 on a asus eee 1015. currently i have two partitions: 80GB for windows (NTFS) and 160Gb for Ubuntu (ext4).

I want to:

- shrink the windows partition (easy, no worries);

- Shrink the ubuntu partition

- join the space thus created in a third partition that i can use for storage, media etc accessible by both windows and ubuntu

The problem:

- i could not manage to get gparted live to run off USB stick (i get the unable to find medium.... error)

- even if i would get gparted to work and i succeed in shrinking the ubuntu partition as well, the two spaces reclaimed will be divided by the ubuntu partition, which means they cannot be joined in a third partition.

so here is what i want to do:

- shrink windows and create a new partition;

- format this new partition as ext4;

- somehow "clone" the data on my current ubuntu root into the new partition;

- format the current root as NTFS and use it as the storage partition

i am aware this may mean i would have to re-set grub etc but would the cloning of the partition be possible? that i would need to clone data from a 160G partition into a 40G partition.

BY THE WAY - forgot to mention that i have tried to load clonezilla off an USB drive and i get the same error: "unable to find medium..."

View 3 Replies View Related

General :: Partitioning - Install Mint 11 To Small Partition On Large USB Drive

May 12, 2011

I want to install Linux Mint 11 (just came out) to a USB drive. My USB drive is 34 gb. So I want to put a 1-2 gb partition on it and install mint just to that. Is that possible? I am a noob so I want to use [URL] but the screenshots don't show an option for a partition or state any extra steps that might be involved in doing this (there's a tutorial for doing this for one of the Ubuntus using fdisk, but I don't have any linux installs right now).

I've seen several tools for partitioning.

View 1 Replies View Related

Server :: Mounting Drive Bad Superblock Error Wrong Fs Type, Bad Option, Bad Superblock On /dev/sda1?

Jun 16, 2010

I have a x64 OpenSUSE server with two hard drivers installed. The first one is used for the / and /home partitions and the other is for backups. Ironically enough it is the backup hard drive I am having trouble with. I was having trouble writting to the drive and unmounted it to preform a fchsk, however now when ever I try to mount it I get the following error:

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Does anyone know who I can repair the drive and retrive data?

View 1 Replies View Related

Debian :: Small Program / Large HDD Footprint

May 18, 2011

I have recently dropped to a command line to run a DB server. In attempting to write a bit of Python to do this process I went to install emacs using apt-get and noticed that the foot print of the install was going to be around 130 Mb. Likewise with a couple other programs the install size was going to be a lot larger than I anticipated. I was wondering how the footprint could be so large and is there a way to install software without this blow out. While I am happy to use vi or import the code from a desktop with a GUI I think this would be interesting to know.

View 2 Replies View Related

Fedora :: Wine - GUI With Large Buttons And Small Fonts

Aug 18, 2010

I'm kinda new to configuring wine in fedora. My issue is, after I upgraded to fedora 13 and after upgrading wine, my wine configuration gui and all the gui's of all *.exe applications that I was using started having abnormally large gui's with equally large buttons and small fonts. I have attached a screenshot of the wine config GUI as it appears on my screen. My current screen resolution is 1280X1024 and I'm using an integrated ATI chip (ATI Radeon x200 express) with the mesa-dri drivers for display.

View 3 Replies View Related

OpenSUSE Install :: Error Message Was 'bad Magic Number, Corrupt Superblock' With A Suggested Command To Try Another Superblock?

May 14, 2011

After several crashes during videos it seemed like a good idea to fsck root. Downloaded the latest systemrescuecd and ran it at boot. The error message was 'bad magic number, corrupt superblock' with a suggested command to try another superblock. That failed with the same message. Tried tune2fs to force fsck at boot and got the same message. The drive is less than 6 months old and the installed system is working more or less ok. The command I used was 'fsck.ext4 /dev/sdc2'. What am I doing wrong?

View 9 Replies View Related

Debian :: USB Drive Corrupted - Cannot Read Superblock

Mar 16, 2011

I have a removable USB pen drive, that all of a sudden, when it got 99% used, stopped working. When I try to mount it (manually) I get "can't read superblock". I know there is a ton about this on Google and I've read a lot of them, but most seem to be about formatting a drive, or fiddling in fstab. I'm trying to run fsck on it, and it finds errors, (among them: two FAT-tables?) but then it just freezes, and CPU goes to 100 % and I let it be like that for 4 minutes, before aborting. Scandisk in windows is rubbish (fails to start), and running "chkdsk /f F:", in windows, results in nothing, the shell crashes immediately. Is it normal for fsck to get stuck and just chew up CPU? It does not seem to be reading from the drive, according to conky. Also, is it possible to run fsck as normal user, (at my work)?

View 2 Replies View Related

Ubuntu :: Unable To Dd Drive And Retain UUID And Mdadm Superblock

May 18, 2011

I have an mdadm linear array of 4 500GB drives. One of them had a few bad sectors, so I've dd'ed it to a new one (conv=noerror), and tried to start my array. Mdadm refuses, saying, "mdadm: /dev/md4 assembled from 3 drives - not enough to start the array."I had diffed different samples from different positions on the source and the mirror drive and confirmed they were identical. Checking the superblocks confirms three old drives still having their superblocks as expected, while the newly mirrored one has,

daniel@lnxsrv:~$ sudo mdadm --misc --examine /dev/sdf1
mdadm: No md superblock detected on /dev/sdf1.
- and,
daniel@lnxsrv:~$ sudo blkid /dev/sdf1

[code]....

As before. The mirror apparently has no uuid, but the original does. To confirm my sanity, I did,

daniel@lnxsrv:~$ sudo dd bs=1M count=50 if=/dev/sdc of=./sdc && sudo dd bs=1M count=50 if=/dev/sdd of=./sdd && sudo diff -s sdc sdd
50+0 records in

[code]...

How can the uuid not be the same when bit-for-bit from the very first byte of the drive, covering MFT etc., these two drives are identical according to diff?

View 5 Replies View Related

OpenSUSE Install :: Mounting Drive Bad Superblock Error

Jun 15, 2010

I have a x64 OpenSUSE server with two hard drivers installed. The first one is used for the / and /home partitions and the other is for backups. Ironically enough it is the backup hard drive I am having trouble with. I was having trouble writting to the drive and unmounted it to preform a fchsk, however now when ever I try to mount it I get the following error:

[code]...

how I can repair the drive and retrive data?

View 4 Replies View Related

Ubuntu :: Plug In Maxtor 1TB External USB Drive - Lsusb Produces No Results?

Nov 14, 2010

I plug in my Maxtor 1TB external USB drive, and here's what dmesg says:

Code:
[ 82.480054] usb 3-2: new full speed USB device using ohci_hcd and address 7
[ 82.660052] usb 3-2: device descriptor read/64, error -62
[ 82.950076] usb 3-2: device descriptor read/64, error -62[code]...

lsusb produces no results, and "fdisk -l" yields nothing as well.The drive is not recognised as /dev/sdb1 as it was until yesterday.

View 7 Replies View Related

Ubuntu :: Fresh 11.4 Usb Hard Drive Install Results Hd0 Out Of Disk Grub Console

Jun 3, 2011

Company laptop HP Compaq 6710b, NTFS on hd0, Win7 installed. BIOS allows boot from USB drive, so wanted to use Ubuntu with no influence on laptop (no disconnecting internal drive, no dual boot, etc). Performed an install from CD to an USB drive making a JFS partition mounted on / and a swap partition. The installer made the JFS partition bootable (boot flag is set) as I asked. On first boot I got:

error: hd0 out of disk.
grub rescue>

View 14 Replies View Related

OpenSUSE Install :: Boot-up Results In A Read-only Root Drive?

May 20, 2011

Somehow, the wife got her laptop into this situation yesterday. The Windows partition booted normally when selected from GRUB but os 11.3 would boot to a command line login and pretty much everything besides CTRL-D was useless as the root partition was ro.

I booted a live CD and found two a couple of strange things. First, the system clock was reset to the default date/time (2007-xx-xx). I reset that. Second, after correcting the time I ran fsck on the root and home partitions. Both went through with no errors reported but the 20GB root partition took a long,long time to complete while the 80GB home partition went pretty quickly. After doing the above, the system booted normally but both partitions reported running the transaction log as well as forcing fsck where I had just done that. My question is for future reference: how does the system react to a grossly incorrect date/time, especially where all the drive data reports being much later than the reported system time? Would this be the reason for what I saw? I have no idea how the wife managed to reset the system clock, even if the

View 2 Replies View Related

General :: SSD As Primary Or Secondary Drive On A Small Server?

Jun 6, 2010

I'm pensioning off my 10-years-old home server and replacing it with an Ubuntu 10.04 box. The two storage devices are a Western Digital Caviar Green 2.0TB HD and an Intel X25-M 34nm Gen 2 80GB SATA II 2.5inch SSD (the box has 8GB RAM and an i5 750, if it matters).

I don't care much about boot times (since I don't plan to reboot all that often;-); the main frequent, performance-demanding task will be (re)building large open source C or C++ software packages from sources (as an open source contributor, I do that often).

So, I thought I'd keep the SSD as the secondary drive and the HD as the primary one, using the SSD mostly for the files that can otherwise demand a lot of seeking (esp. in a parallel make).

However, the friendly vendor (perhaps more experienced in Windows systems than in Linux ones) thinks the "normal" way to configure the machine would be with the SSD as the primary drive. I'm pretty rusty on configuring and tuning systems, so, I thought I'd better double check on SuperUser.

View 2 Replies View Related

Software :: Running 'dd' To A FLASH Drive Results In Corrupted Volume/partition?

Oct 13, 2010

I am trying to install an ARM version of Ubuntu onto an SD card for a BeagleBoard from a .img file downloaded from http://releases.ubuntu.com/lucid/. I have tried several files of .img and .raw downloaded from several places. I am using 'dd' on a PC running Ubuntu 10.0.4. My question doesn't relate to the BeagleBoard at all since I never get that far. The files for Angstrom that I copy directly onto a formatted SD card boot up fine on the BeagleBoard, but I need Ubuntu on there and can't do it with these image files. The command I use is:

sudo dd if=<the downloaded file> of=/dev/sdb1 After it asks the root password, it chugs along for some time and then gives what appears to be a successful response like the following. (This time it was for the Maverick version of Ubuntu in a .raw file):

leiphasw@dell-linux:~/Downloads/ArmMaverickUbuntu$ sudo dd if=maverick-preinstalled-netbook-armel+omap.raw of=/dev/sdb1
4090632+0 records in
4090632+0 records out
2094403584 bytes (2.1 GB) copied, 167.38 s, 12.5 MB/s

[Code]...

View 6 Replies View Related

Ubuntu :: Transfer Large Files To External Hard Drive

Apr 21, 2010

how to transfer large files from my laptop to external hard drive. Problem occurs when I'm sending Blu-ray films (4.4GB) to external, gets to 4GB and then comes up with error. Is there any way of breaking it up and then merging when it reaches the hard drive or is there a way of sending it as one whole file.

View 1 Replies View Related

OpenSUSE :: Creating Large Partition In Hard Drive?

Apr 14, 2010

I am so sorry but this is not for me. I cant make this work. I want to install windows xp back in my pc, i just give up with Linux, I lack the expertise to do anything here.

View 2 Replies View Related

Ubuntu :: Can't Load A Drive / Volume - "Unable To Mount Location Error Mounting: Mount: /dev/sda1: Can't Read Superblock"

Dec 25, 2010

I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?

View 9 Replies View Related

Fedora :: Installed 13 On An 80 Gigabyte Hard Drive - Root Partition Too Large

Jun 10, 2010

I recently installed Fedora 13 on an 80 gigabyte hard drive, and it split the space in two, giving root and the normal partition both 36 gigabytes. I need at least 60 gig or more for my home partition. What can I do to shrink the root one? I currently do not have accsess to the install media or a rescue disk.

View 4 Replies View Related

General :: Split Large File And Transfer To Windows External Drive?

May 17, 2011

How does one split a large linux file and transfer to windows external drive ?

View 2 Replies View Related

General :: Saving The Results Of The Time Command While Discarding The Results Of The Command Being Timed

Apr 6, 2010

I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:

$ time ./foo > /dev/null >> output_from_time_command.txt

View 1 Replies View Related

Ubuntu :: Fonts Are Just Too Large And Large

Feb 18, 2011

how big and widespaced the fonts on Clementine playlist are and how good they look on the appmenu (where my mouse pointer is). This is not because Clementine is QT4, I've got the same problem with Chrome, Opera etc. I've been messing with system-settings (KDE settings tool) a day before the fonts become that widespaced in order to make my KDE apps look more native on my GNOME, but I haven't touched the fonts settings there.

View 9 Replies View Related

Fedora :: Connecting USB Drive Results In "Unable To Mount X" "Not Authorized"

Jun 30, 2010

Fedora Core 13 updated just this morning and still having a problem when connecting drives to the system. I believe drives are supposed to be automatically mounted under /media/Vol-Name where Vol-Name is the label on the drive/partition. I, and everyone else logged in, get the following message: Is there some settings that controls this?

View 2 Replies View Related

Ubuntu :: "Error Splicing File: File Too Large" - Copy To A 500G USB Drive?

Sep 10, 2010

I have seen this 3 times now - it's an updated Lucid with EXT4, trying to copy to a 500G USB drive?

View 3 Replies View Related

Ubuntu :: How To Fix Filesystem / Superblock Error

Mar 7, 2010

Running ubuntu server (ie no gui) but suspect this might be a general problem.

With the machine booted from the hard drive, if I run fdisk -l I get an invalid partition table message code...

Unable to read the contents of this file system!
Because of this some operations may be unavailable.

How do I correct this error?

View 6 Replies View Related

Ubuntu Servers :: Bad Superblock /dev/md0 Softraid 10.04?

Mar 24, 2011

This might take a little while to explain so please bear with me. I just bought a HP N36L microserver to replace my Netgear ReadyNAS as it has 4 bays as opposed to the 2 in the Netgear, the HP came with a 250GB Seagate drive in so I installed Ubuntu 10.04 server onto that as a minimal install in a 5GB partition, selected basic server, lamp and samba during the setup and then once installed added the minimal gui, all good so far.

The idea was to have 3 1TB drives in the HP running software Raid 5 and after trying to do this via the disk utility gui and having misaligned cylinders I found this guide for setting up the Raid 5 array - http://www.jamierf.co.uk/2009/11/04/...n-ubuntu-9-10/ Now the problem with setting up the raid was I had just over 900GB of data on the 2 disks in the Netgear and not enough space anywhere to back it all up so the plan was to install 1 x 1TB drive and format to ext4 and transfer all the data onto it from the Netgear, then pull the 2 drives from the Netgear and build the Raid 5 array using just those 2, then copy the data from the 3rd drive onto the raid and then add the 3rd drive and grow the array.

This actually was all going fine, 2 disk array was built, data transferred and all was good so added the 3rd drive to the array and issued the grow command, after many hours this completed and I had a 2.0TB filesystem icon on the desktop.

Now the problem, the last two steps were to unmount the array and run an fsck on it (as per the guide) and then grow the filesystem but the array wouldn't unmount it kept saying it was busy, I tried to force it but still nothing so I decided to reboot (my windows background coming back to haunt me perhaps) when the box came back up it failed to mount the array due to a bad superblock

[Code]...

View 9 Replies View Related

Ubuntu :: Md: Invalid Superblock Checksum

Jul 11, 2011

I'm running 2.6.32-28-generic. I have a raid1 (two 1tb drives with two partitions... one for / and one for /home.) After a power outage, I'm seeing grub complaining about /dev/md0 not existing (ALERT! /dev/md0 does not exist. Dropping to a shell!)

I booted to the latest live CD to have a look around. My dmesg output includes these ominous lines:

Code:

Here is the whole dmesg output: [url]

View 2 Replies View Related

Ubuntu :: Read Out Superblock Of A Filesystem?

Mar 31, 2010

How can i read out the superblock of a filesystem?

View 5 Replies View Related

Ubuntu Installation :: Bad Superblock - Wrong FS Type

Jan 4, 2010

I cannot for the life of me get my HD working again. I tried following all the various remedies I could find but to no avail.

Code:
ubuntu@ubuntu:~$ sudo e2fsck -f /dev/sda1
e2fsck 1.41.4 (27-Jan-2009)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Could this be a zero-length partition?

Code:
ubuntu@ubuntu:~$ sudo dumpe2fs -f /dev/sda1 | grep -i superblock
dumpe2fs 1.41.4 (27-Jan-2009)
dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Couldn't find valid filesystem superblock.

It goes on and one like this. I'm stuck using the LiveCD for now (Jaunty) so I have some limitations.

View 1 Replies View Related

Ubuntu :: Cannot Mount, Bad Fs, Option Or Superblock FSCK?

Aug 23, 2011

The HDD is a 500GB internal SATA, The smart claims that the "file system is not clean" but is still green.FSCK ran a few errors and using fsck i copied a new superblock from a backup location, It still won't let me mount and FSCK is still trying to fix a TON of errors. I'm sorry I don't know any of this yet, but I'm concerned that FSCK could be destroying the data on the drive, for example photos and other important things. FSCK is coming with a lot of things to fix, It's gone from trying to fix errors in free blocks of group #1 to over #3000.. Is this safe? Will this work? Can I get rid of whatever caused this problem in the first place?

View 1 Replies View Related







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