General :: Corrupted MBR By Copying To /dev/sdb1

May 15, 2010

rather by accident, I copied a file to a USB drive by saying

cp <file> /dev/sdb1

rather than

cp <file> /media/USBDISK

I was surprised that this was at all possible (without root privileges and all), but now the drive cannot be mounted.

I did a

dd if=/dev/sdb of=corrupted.disk

but I don't know how to recover the data.

View 2 Replies


ADVERTISEMENT

General :: Grub - Boot From Usb / During Startup System Complains About No Root Bein Found On /dev/sdb1?

Jun 2, 2011

I have installed a new Linux distro (just to test it) on my usb memory stick, and I'm trying to run it. I don't know if what I did is correct so far, anyways here's what I have:

Grub on sda (internal hard disk)
sdb with no boot loader (memory stick)

In grub I've been doing:
root (hd1,0)
kernel /kernel-genkernel-x86_64-2.6.37-sabayon root=/dev/sdb1 vga=normal
initrd /initramfs-genkernel-x86_64-2.6.37-sabayon
boot

This seems to work (as opposed to when I forgot the root= parameter, which almost destroyed my linux on sda1 ), but during startup the system complains about no root bein found on /dev/sdb1. I also tried (hd1,0), but it didn't change much.

I'm sure I can boot an OS from usb on my computer, so doesn anyone know what I'm doing wrong?

View 4 Replies View Related

Ubuntu Installation :: DEVED Error 1 "corrupted Filesystem Tarfile - Corrupted Package Archive"

Jan 24, 2010

I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.

View 8 Replies View Related

General :: External Hard Drive Is No Longer Recognized - Buffer I/O Error On Device Sdb1, Logical Block 6160408

Feb 28, 2010

The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.

[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21
[19712.145347] usb 2-2: configuration #1 chosen from 1 choice
[19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices

[code]....

I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.

View 4 Replies View Related

Debian :: What Is " 'name Of Packet.deb' Is Corrupted" - Watch List Of Corrupted Packets?

Aug 15, 2010

What is " 'name of packet.deb' is corrupted" ? How i do watch list of corrupted packets? How i do reinstall all corrupted packets?

OS: debian

View 3 Replies View Related

General :: How To Get Device Of Corrupted USB Stick

Aug 7, 2011

In order to try to rescue a USB stick which has probably a corrupted allocation table, I would like to get the device.I'm using Ubuntu 10 as a guest in VirtualBox, Host: Win7. Windows just tells me that the USB is not formatted.When tail -f /var/log/messages and I insert the USB stick, there won't be anything appended.
fdisk -l does not show anything.

View 2 Replies View Related

Ubuntu :: Move /usr Directory From Sda1 To Sdb1?

Jun 16, 2010

I have 2 hard disks, one is full and I would like to move my /usr directory from sda1 to sdb1.

I tried the following..

sudo mkdir /driveb
sudo mount /sdb1 /driveb
cd /driveb
sudo mkdir /usr
sudo cp -b --copy-contents -r /usr /driveb/usr
code....

I don't fully understand the difference between a directory and a mount point and I may be treating them wrong.

I would like /usr to point to sdb.

is it possible, or should I try to change my path instead and ignore this problem?

View 8 Replies View Related

Hardware :: Buffer I/O Error On Device Sdb1?

Feb 3, 2010

I have an external usb disk connected to a Debian desktop. A couple of days ago these messages started appearing in dmesg

Code:
[154343.010908] EXT3-fs error (device sdb1): ext3_get_inode_loc: unable to read inode block - inode=14352940, block=57409572
[154343.014425] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #13272620 offset 0
[154343.014913] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #3440641 offset 0
[154343.022172] Buffer I/O error on device sdb1, logical block 53138974
[154343.022209] lost page write due to I/O error on sdb1
[154343.022218] Buffer I/O error on device sdb1, logical block 53138976
[154343.022252] lost page write due to I/O error on sdb1
[154343.022256] Buffer I/O error on device sdb1, logical block 53138977

When this appears the disk becomes unavailable and I have to remove and plug it in and mount again. After that it works couple of hour and then the problem appears again. Is this a hardware problem?

View 2 Replies View Related

General :: After Installing Slackware Swap For Ubuntu Corrupted

Dec 24, 2009

I wanted to dual-boot Ubuntu and slackware, and use one swap. Well, I had Ubuntu installed and used installed slackware, and the boot hangs when I try to boot into the latest kernel; it says it's waiting for a UUID = (some random characters. I tried to enter a recovery mode for the latest kernel, and I couldn't even log in as root or my log in.

View 2 Replies View Related

Ubuntu :: Mount: Can't Find /dev/sdb1 In /etc/fstab Or /etc/mtab

Sep 28, 2010

I just installed pysdm so I could configure what drives mount on boot, and now when I go to access my external harddrive, this is what I get:

Unable to mount Hard Drive

Error mounting: mount exited with exit code 1: helper failed with:

[mntent]: line 11 in /etc/fstab is bad
[mntent]: line 12 in /etc/fstab is bad
[mntent]: line 13 in /etc/fstab is bad
[mntent]: line 14 in /etc/fstab is bad
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab

View 7 Replies View Related

Red Hat / Fedora :: Adding Existing Memory In Sdb1 To Sda1?

Nov 30, 2010

Here is the output of disk free space

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 940287756 3320512 888432924 1% /
/dev/sda1 101086 21142 74725 23% /boot
tmpfs 7730504 0 7730504 0% /dev/shm
/dev/sdb1 2884158292 74736 273757667 1% /data

Now,I wanna add a large amount of memory in sdb1 to sda1 to increase the available memory.Is there a way I can do this?

View 4 Replies View Related

Red Hat / Fedora :: Set A Sdb1 (USB Mamory Stick) As A Bootable Disk?

Jan 22, 2011

I have a USB which I would like to make the device boot able. I have looked into fdisk and it appears that using fdisk I can only set a partition to a boot able. Please have a look at the output of fdisk command. In the following the sdb1 and sdc1 are both USB Memory Stick. As you can see the sdc1 is set as boot but the sdb1 is not.

Code: Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 1 Replies View Related

Server :: Run Fsck.ext3 -y /dev/sdb1 And It Shows As Clean

Nov 18, 2010

I have a centOS 5 box with 3ware 8 port raid cards.I run fsck.ext3 -y /dev/sdb1 and it shows as clean.But after writing to the FS for about 2 minutes, it becomes read-only.When I umont -l /data, and run the fsck I get that another program is using the system an I should wait.If I reboot the server , the array comes back as clean.

View 2 Replies View Related

Ubuntu Servers :: Second Hard Drive (sdb1) Is Not Automatically Mounted?

Mar 4, 2010

I'm running Ubuntu 9.10 64-bit.

For some reason, the second hard drive (sdb1) is not automatically mounted:

rick@rab-1:/mnt$ sudo fdisk -l
Disk /dev/sda: 500.0 GB, 499989348352 bytes
255 heads, 63 sectors/track, 60786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c17f6

[Code]....

Before I installed Ubuntu, I installed the RAID software to handle 4 500 GB hard drives - so there are supposed to be two mirrored drives. I'm not an expert in using RAID. I'm assuming it is correctly configured. I only "see" two drives. sda has Ubuntu etc. How can I get sdb1 mounted? I've tried using the palimpsest program but I'm afraid I screw it up. Do I need to re-format sdb1?

View 6 Replies View Related

Ubuntu :: The Disk Drive For /media/sdb1 Is Not Ready Yet Or Not Present

Jan 25, 2011

During the boot, the following message appears:The disk drive for /media/sdb1 is not ready yet or not present Continue to wait, press S to skip or M for manual recovery. This started to appear after I use the "pysdm" application.

View 4 Replies View Related

Hardware :: Raid6: Disk Failure On Sdb1, Disabling Device?

Jun 9, 2010

For backup purposes, I built a RAID6 array on USB. When during the night the backup filesystem is being mounted, every so many days, a random disk fails:

Code: sd 9:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdb] Sense Key : Illegal Request [current]
sd 9:0:0:0: [sdb] Add. Sense: Invalid field in cdb[code].....

In other words, my RAID set fails every so many mounts, but I know how to fix it.What I want to find out is:

- Why is a random drive failed every now and then?

- How can I prevent that drive from being failed?

BTW: I have a second RAID set that has been functioning for years without error, so the setup I use must be correct. The only difference between both RAID arrays is the different vendor of the disks.

View 1 Replies View Related

General :: Windows 7 - HP Laptop, Corrupted Graphics, Not Booting Win System Board?

Aug 3, 2010

My friend has a HP Pavilion dv2699ea (dv2500 series - somehow *shrugs*) that has stopped working. It's a Core2Duo laptop with a Nvidia GPU. The unit is no longer under warranty. Problems first started a few days ago with the laptop showing corrupted graphics in Windows and BSOD'ing after a few minutes of use. I tried booting to an Ubuntu LiveCD which worked for a while before succuming and crashing as well. The freezing/graphics corruption/BSODing does seem somewhat heat related (CPU runs at ~95'c under load) however I believe that if it is heat related, then it's already damaged components inside.

Now the system has corrupted graphics on bootup[1], including booting Ubuntu[2], and neither operating systems will boot at all (Windows can sometimes get logged in before showing a black screen and becoming unresponsive. Ubuntu just looks like [3] after X starts). (See comment below for links.)

The fact the problem occurs both under Linux and Windows says to me this is not a driver issue. I have run Memtest which passed fine and none of this seems HDD related as I managed to get ~30GB of data off the system before it finally gave up the ghost.

She has been using it repeatedly without giving it adequate ventilation for years (i.e. on the bed, or on a pillow), so it's my opinion that the system board has probably warped over years of cooling/heating and that's causing this current problem. If that is the case, then I can buy a replacement system board and fit it myself, saving about 200 over the cost of an out-of-warranty HP repair. Of course, I don't want to make her spend 100 on a replacement part for it to be the wrong thing, hence asking for a second opinion here!

Hopefully I've covered all the bases here. I'm a former IT support guy myself, so I've tried all the dumb stuff (driver updates, examining memory dumps from BSODs [one 'unrecoverable hardware error', three relating to the graphics card], etc).

View 4 Replies View Related

Ubuntu Servers :: Delete The Sdb1 Partition Fine, But Get The Same Error When Try To Create It Again?

Aug 22, 2010

have set up a server with OS on a 250GB disk (sdd) and 3x 1.5TB drives for a RAID5 storage setup (sda, sdb and sdc).Using webmin I can delete and create a primary partition in each one. But while I can also format sda and sdc, it refuses to do sdb for some reason:Executing command mkfs -t ext4 /dev/sdb1 ; partprobe ..mke2fs 1.41.11 (14-Mar-2010)
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!

But I'm not using it
simon@ubuntu:~$ lsof | grep /dev/sdb
simon@ubuntu:~$ lsof | grep /dev/sdb1

[code]....

View 9 Replies View Related

Ubuntu :: Errors:Unable To MountError Mounting: Mount: /dev/sdb1: Can't Read Superblock?

Jun 4, 2010

I'm trying to get some data off of an external harddrive. I get a few errors:Unable to mountError mounting: mount: /dev/sdb1: can't read superblock.I then tried to run a read disk benchmark on disk utility and that seemed okay.I then tried

Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 320.1 GB, 320072933376 bytes

[code]....

View 4 Replies View Related

Ubuntu Installation :: Wrongly Mkfs To /dev/sda1 Insted Of /dev/sdb1 Data Deleted?

Jun 6, 2011

I had a working Ubuntu 9.10 with Windows 7 installed, and i was writing an image of IPCOP [URL] to the USB drive incorrectly, i did mkfs on my primary partation i.e. /dev/sda1 now i am trapped in situation, i was trying to write and usb-hdd image of ipcop on USB Drive, while doing so, i have given following commands

1. mkfs.vfat /dev/sda1
2. e2label usb-pen
3. zcat filename > /dev/sda1

* now the stupid thing i have done, is given /sda1( My HDD ) instead of /sdb1 (USB Drive), it has successfully loaded IPCOP bootable on my primary drive, and my laptop is not working now.

Laptop Partation Info:
/dev/sda1 - NTFS (Windows 7 Prof)
/dev/sda2 - NTFS

[code].....

now i want to get my partitions & data back, if anybody have idea about how to get rid of this situation. The good thing i have done, is that, i didn't tried to install anything on the drive after this happened, with hopes that i can get my data back i guess that it can be recovered but confusion is that, which data recovery software to use, and for linux or windows, as i had my data on NTFS filesystem and currently there is Free Space and EXT4 partition.

View 2 Replies View Related

General :: Copying The LP To CD?

Jul 4, 2011

I have a tube type stereo amplifier (Eico ST-70) and a Empire Troubador turntable, both from 1963. I would like to be able to copy the LP's to CD using Linux.

View 1 Replies View Related

General :: Corrupted Partition Table / Error Mounting: Wrong Fs Type, Bad Option, Bad Superblock?

Oct 23, 2010

i used to have ubuntu 9.i decided to move to sabayon so i used the live cd to install it ,resize the ubuntu partition and use the remaining space for sabayon.while the resizing procedure i got an error(i dont have a copy of the error log file but i know it has something to do with an anaconda process).i aborted the installation and the result was an filesystem that couldnt be mounted.when i try to mount the hdd i get this:

Code: Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so and this is what i get from fsck: Code: $ sudo fsck -f /dev/sdb1
code....

View 5 Replies View Related

Ubuntu Servers :: Mdadm - Why /dev/sdb1 And /dev/sdi1 Show As Both Ext2fs And Also As Part Of A RAID Array

May 31, 2011

I've been having some problems w/ a my RAID 5 array, and after extensive investigation, I'm fairly sure that my last resort is rebuilding the array. I'd tried --assemble, b/c it's a previously created array, but it didn't seem to like that. So, I checked into --create, and it will re-create the array w/out destroying the data, if the superblocks are persistent, which they seem to be. However, here's what I get:

[Code]....

My question is: why do /dev/sdb1 and /dev/sdi1 show as both ext2fs and also as part of a RAID array?

View 3 Replies View Related

General :: How To Put Progress Bar While Copying

Nov 9, 2009

I want to create a script which will show the amount of data that is been copied from one location to another location. For example: Say I have a file called abc.img which is approximately 4 gb of size therefore every time I copy the file from one location to another I want a progress bar to appear like 50% completed 51% completed and so on.

View 2 Replies View Related

CentOS 5 Hardware :: EXT3-fs Error (device Sdb1): Ext3_lookup: Unlinked Inode 142214653 In Dir #142213149

Apr 21, 2011

My server is DELL server. There are occur error about HDD (EXT3-fs error) more detail about the error

# dmesg
.
.
EXT3-fs error (device sdb1): ext3_lookup: unlinked inode 142214653 in dir #142213149
Aborting journal on device sdb1.
ext3_abort called.

[code]....

View 3 Replies View Related

General :: Copying An Audio CD In The Most Accurate Way?

Dec 18, 2010

In cdrecord's man page, EXAMPLES, it says:

Quote:

To copy an audio CD in the most accurate way, first run

cdda2wav dev=2,0 -vall cddb=0 -B -Owav

and then run

cdrecord dev=2,0 -v -dao -useinfo -text *.wav

Now, cdda2wav samples the drive output. But the signal is already sampled in the CD. Do you think this is accurate?

View 7 Replies View Related

General :: Copying Dir To A Usb Thumb Drive?

May 9, 2011

I want to copy my /home to a USB thumb drive recursively. I've wrestled with this for a few hours now and continue to spin my wheels.The device is listed in my Disk Utility as /dev/sdc. However a little further down it is listed as /dev/sdc1 ? Anyway, I relabeled the volume as usb stick and formatted it to Ext4. I mounted it at /media/usb stick Do I have to enter this drive into the fstab? If so, how? what do I write? Using the command : cp -R (what follows... I want to copy /home recursively to the usb thumb drive.)

View 8 Replies View Related

General :: Copying Files Using Smbclient?

Jun 7, 2010

I have a new network attached storage unit that I'm trying to transfer my data to. On this NAS, it has a very basic linux installed with SSH enabled. Browsing through the programs installed on it, i found smbclient. Am I able to copy files directly from my old NAS to my new one using smbclient?It would sure beat transfering 950GB from my old NAS through a computer then onto my new NAS.

View 1 Replies View Related

General :: Copying Permissions From One File To Another?

Nov 4, 2009

copying permissions from one file to another.I know that command for changing permission is "chmod", for example chmod 666 filename However, I have one file filename1 and by listing all contents of a directory with ls -al I can find out its permissions in form -rwwx and similar. Now I want to define exact same permissions to other file "filename2". How to use chmod command to accomplish this. Other way around would be to simply copy permissions from one file to another. Is there any command for this purpose?

View 3 Replies View Related

General :: Copying 1 File To Many Directories?

Jul 25, 2010

The current directory contains:A file called "original.txt" Many directories called "source_001", "source_002", "source_003" ... From the command line how do you copy "original.txt" to "source_001" and "source_002" and "source_003" ...

The total number of these source directories is unknown, it changes every week.

View 4 Replies View Related







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