General :: Unable To Use HDD - How To Fix It
Feb 3, 2010
My hard disk had a failure. This is ubuntu 9.10 system encrypted at install with alternate CD (debian installer).
Quote:
ubuntu@ubuntu:/var/log$ sudo fdisk -l /dev/sda
Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
[code]....
There are bad blocks on drive now
Quote:
badblocks -v -s /dev/sda
Checking blocks 0 to 390711383
Checking for bad blocks (read-only test): 121600% done, 0:20 elapsed
124800% done, 3:28 elapsed
[code]....
Pass completed, 110 bad blocks found.
Quote:
I boot up with Live CD and tried to mount this corrupted volume to rescue some data. I can unlock it:
Quote:
root@pajonk:~# cryptsetup luksOpen /dev/sda1 crypt1
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.
and this creates "/dev/mapper/pajonk-root" device, but i cannot mount it due to read failures:
Quote:
ubuntu@ubuntu:~$ sudo mount /dev/mapper/pajonk-root /volume
mount: you must specify the filesystem type
Quote:
Feb 3 14:48:04 ubuntu kernel: [ 4617.229312] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Feb 3 14:48:04 ubuntu kernel: [ 4617.229317] ata1.01: BMDMA stat 0x65
[code]....
Is there any chance to read data from this device. There are only 110 badblocks so most of my data should be fine.
View 1 Replies
ADVERTISEMENT
Jun 30, 2011
I couldn't connect my Micromax 300G modem in Debian Linux. From internet (in Windows Vista), I came across the information of USB_ModeSwitch and then I downloaded it. While going to install it, I came across the problem that TCL-interpreter is not available in Debian Linux. Then again I restarted my laptop in Windows Vista and connected my Micromax modem and from internet downloaded TCL8.5.10-src.tar.gz. But while going to install it, I came across the problem that " configure: error: no acceptable C compiler found in $PATH " . Also as presently, I am unable to connect my modem therefore I am unable to issue the code:" apt-get update ".
View 16 Replies
View Related
Jul 11, 2011
Whenever i try to execute ls with ltr as an option the system hangs.
The workload on server is not more than 1. What could be the reason .
Normal ls works fine but ls -ltr causes the system to hang.
Distribution details
Code:
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage
View 6 Replies
View Related
Feb 19, 2011
I am trying to use gcc. I need to compile a C prog. But I am unable to do. I have done this:
Code:
sujit@sujit-desktop:~$ gcc -Wall test.c
gcc: test.c: No such file or directory
gcc: no input files
sujit@sujit-desktop:~$
But I think I am making some mistakes in specifying path.
View 14 Replies
View Related
May 4, 2010
I use lilo, and have two different kernels. One is newer and use KMS with it.What I would like to do, is to be able to set vga=xxx for only one of the kernels.Is this possible?I would also like to be able to code into lilo.conf options that I pass on the commandline, but am unsure how to do thisedit:
adding my current lilo.conf
append=" vt.default_utf8=0"
boot = /dev/sda
[code]....
View 1 Replies
View Related
Jun 15, 2010
My /dev/sda1 has problem and we are unable to start my FC5, how to bypass it .. ?
View 3 Replies
View Related
Jun 17, 2010
I've just installed Arch linux over my old distro and I've just discovered that Flash has been discontinued for my x64 machine. Is anyone managing to live reasonably without it? I'm only really wanting it to play media of ....., bbc iplayer, and assorted other video sites. Arch recommended installing FlashBlock for my chromium browser so I can download flash content, but all these sites detect that I don't have flash and take me to a warning page.
View 3 Replies
View Related
Apr 21, 2011
I know I have done this command on out Red Hat systems. But for some reason in CentOS its giving me problems. I am trying to add more space to / as its at 100% full. Not sure what filled up the 4G is assigned to it but I did load Virtualbox and a widowsxp system.
Here is what i have:
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdc3 4061572 4050416 0 100% /
/dev/mapper/rootvg-rvg_datalv
253934980 313572 240514208 1% /data
[code]....
View 9 Replies
View Related
Apr 11, 2011
I am trying to build a rpm that basically changes the root password on a system. Here is what my spec file looks like:
Summary: Update the root password
Name: update_passwd
Version: 1.0
Release: 1
[code]....
However, when I run a "rpmbuild -ba specfile", I only get a *src.rpm under /usr/src/redhat/SRPMS, but no rpm file. I have never created a rpm and was wondering if there is something I am missing in my spec file?
View 7 Replies
View Related
Dec 16, 2009
In my lan environment i've configured a server with rhel5 and a desktop with fc12.I was unable to ssh between rhel5 & fc12. when i'm trying to login through ssh i was getting following error
[code]...
View 3 Replies
View Related
Apr 13, 2010
I have configured Apache web server. But I am unable to do SSL Web page. Please suggest me, how can i configure it
View 2 Replies
View Related
May 18, 2010
I am unable to run the several commands like:
init 0
init 6
shutdown.....etc..
The error message is "bash command not found."I am using RH9.
View 2 Replies
View Related
Feb 1, 2010
i am not able to intall vlc in fedora.
View 3 Replies
View Related
Nov 4, 2010
i have installed ns 2.33 and added the patch mobiwan-1.patch on ubuntu 10.04, when i tried to run some simple script for mobile ipv6, i got the following.
Code:
manju@manju-desktop:~/Desktop$ ns simple_mobileipv6.tcl
couldn't read file "BASEDIR/ns-allinone-2.26/ns-2.26/tcl/lib/proc-mipv6-config.tcl": no such file or directory
while executing
"source.orig BASEDIR/ns-allinone-2.26/ns-2.26/tcl/lib/proc-mipv6-config.tcl"
("uplevel" body line 1)
code....
View 6 Replies
View Related
Apr 27, 2010
I had two OS win xp nd fedora10.i formated my xp nd was installing windows 7 in its place when i did the same my fedora got invisible i m unable to find whole partition where my fedora was installed.......and i cant use fedora now...
View 3 Replies
View Related
Oct 26, 2010
This is on a customized Ubuntu 10.10 LiveCD. I have a directory which the default user "ubuntu" owns, and the permissions on the directory is 777. I'm unable to cd into the directory as ubuntu user. However as root user I'm able to access it. What could be the reason? I'm able to view the directory in nautilus.Note: I originally copied the folder over from an NTFS disk.
View 1 Replies
View Related
Nov 29, 2010
I keep getting an error when trying to install Ubuntu 10.10 on Windows 7. I insert the cd and then restart the computer. Everything looks like its loading great, but it gets stuck on the loading screen. So I pressed Esc, and it shows the following errors:
(process: 314): GLib-WARNING **: getpwuid_(r): failed due to unknown user id (0)
/init: line 7: can't open /dev/sdb: No medium found
/init: line 7: can't open /dev/sdb: No medium found
/init: line 7: can't open /dev/sdb: No medium found
[code]...
I have also tried the check disc for defects options, but that also gets stuck on the loading screen. What am I missing?
View 1 Replies
View Related
Dec 29, 2010
I have Ubuntu installed on my laptop. cfdisk shows 150GB hard disk which is correct. Baobab shows 56GB only. Also, wherever I try to download something using Transmission torrent client it complains that disk space is not sufficient. There is nothing on my disk except a few movies. Where is all the space?
View 3 Replies
View Related
Feb 15, 2011
I wanted to install adobe reader on my ubuntu 10.10(Maverick Meerkat).I have downloaded the file and copied it on my desktop.I had then browsed to the desktop directory through command line terminal.
I had tried all the possible combinations of the commands but still i get a "file or directory does not exist error"
roger@ubuntu:~/Desktop$ chmod a+x AdbeRdr9.4-1_i486linux_enu.bin
roger@ubuntu:~/Desktop$ sudo ./AdbeRdr9.4-1_i486linux_enu.bin
sudo: unable to execute ./AdbeRdr9.4-1_i486linux_enu.bin: No such file or directory
I tried without the sudo and this is what i get
roger@ubuntu:~/Desktop$ chmod a+x AdbeRdr9.4-1_i486linux_enu.bin
roger@ubuntu:~/Desktop$ ./AdbeRdr9.4-1_i486linux_enu.bin
bash: ./AdbeRdr9.4-1_i486linux_enu.bin: No such file or directory
The file is present in the desktop.
P.S: Cannot install .bin package on Ubuntu
View 1 Replies
View Related
Mar 5, 2011
Basically this morning, I decided to format my Win7 as it was getting really slow and I did so with no problems. I also have a Linux Mint OS on dual boot. Since I was springcleaning my windows partition, I decided it was a good idea to do the same to my linux partition.
I downloaded the latest version of Linux Mint (Julia) and burned the LiveCD. Now here is where the problem lies, when I restarted Windows and chose to boot from the LiveCD, it didn't work. No joke. There was just a little underscore blinking for a long time before it went back to GRUB which prompted me to select an OS to boot.
However, when I went into my old Linux Mint OS and restarted the machine, the LiveCD worked... to a certain extent. It would load and look as though it was ready to install Linux Mint 10 but the moment it got to the option screen, the whole screen turned into a checkered and jumbled mess.
At this point I thought it was the LiveCD or the .iso file. I had an Ubuntu LiveUSB for recovery purposes and I tried that. The exact same thing happened. Can't boot the LiveUSB if I restarted from Windows, but works when I reboot from Linux. BUT still the same checkered screen that doesnt respond.
Did a bit of googling and reckoned it might be something wrong with my GRUB. Did some updating and didnt make a difference.
Then I tried the Super Grub Disk and STUPIDLY uninstalled GRUB. (Note that booting to SGD had the exact same problem - can't be done if I rebooted from Windows). Now I can't access my Linux Mint 9 cos the the bootup screen (mbr) only has Windows 7 as an option.
Remember me mentioning that I can't boot from any CD/USB/recovery CD when I reboot from Windows? And now that I can't access Linux, there's no way for me to do any form of recovery!
I've tried using the command prompt utility at startup recovery but to no avail.
View 3 Replies
View Related
May 29, 2011
I installed the Syncrify server and client on a Linux box. From what I've read on their site, Syncrify comes with a built in self-signed SSL certificate. However after setting the SSL port on the Syncrify Admin Set-Up, I am still unable to login with a client through SSL. This works: (5800 is the default port for HTTP)[URL]...
However the following do not work:[URL]...
View 1 Replies
View Related
Mar 17, 2010
I need to extract a tarball but unfortunately this error occurred when I tried it
# tar zxvf toolchain.tar.gz
tar: Skipping to next header
gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
[code]....
Is there a way that I can recover or extract the tarball? I tried to gunzip first but to no avail as well.
View 2 Replies
View Related
May 2, 2010
Actually,my ubuntu 9.1 was running smoothly but now it gives a message to install b43 firmware and a site name to install it.I could have installed it but ubuntu just get stuck after that message.Is there anyway to install through windows?
View 1 Replies
View Related
May 13, 2010
have been trying to install a couple of things using terminal and no matter what i try it tells me package could not be found. I hav talked to others who are running same version as i am (ubuntu 9.10) and they work fine, I am using the codesudo apt-get installand nothing works any ideas why
View 4 Replies
View Related
Jun 22, 2010
Output of my terminal:
linuxx86:110$ rm -rf *
rm: cannot remove `dttscopeger.dir/.nfs00000000012821280000ec25': Device or resource busy
rm: cannot remove `dttscopeger.dir/.nfs00000000015561050000ec26': Device or resource busy
[code]...
View 6 Replies
View Related
Dec 5, 2010
My first post and only my second day using Linux (Ubuntu 10.10), so please be gentle with me. lol. Bit of back ground to my problem. I have a Netgear Stora that has just died, but realy need the info off the drive inside. Support have told me that the drive can be read on Linux, so here I am. Right. Places-Computer shows drive as "array". System-Administrator-Disk utility gives me everything blank apart from State : not running, not enough componets to start. Now there is a button under this "Start Array". Can I simply just click this or is there more to it than that as I don't want to lose anything on the drive.
View 8 Replies
View Related
Mar 9, 2011
I work for a food manufacturing company in Sheffield and we have a machine called a duck injector which operates off a Human Machine Interface Touch Screen. The program inside this has been written and runs using Linux. This is stored on a Compact Flash Card.
This screen has been damaged and isn't made anymore so we've been sent a new screen which is a 12'1" Intel Atom N270 HMI.
I simply tried to put the Flash Card in the port and powered it up (booting from a removable source) and i get the following:
I've had absolutely zero experience with Linux so i'm completely stuck as to what to do to get it to work.
I've got a flash card with XP on it so i can boot up in that but then it won't read the flash card with the program on because it's in Linux (presumably?)
I've also tried downloading Mubuntu 10.10 and booted it up using that on a flashdrive - this allows me to read the flash card with the program but i can't get it to boot up/run.
View 8 Replies
View Related
Sep 29, 2010
I just bought the Barnes & Noble Nook eReader for my wife's birthday and a requirement is to log on to the Nook website and establish an account. Using her Fedora 13 64bit desktop and Firefox she repeatedly tried to access the website www.nook.com to create an account, however consistently got the server not found message. Even using the Firefox addon User Agent Switcher and turning off NoScript did not correct this.
When we switched over to the WinXP install and Firefox we were able to access the website no problem. Anyone else unable to access that website via linux?
View 14 Replies
View Related
Apr 7, 2011
I re-installed my Windows OS today and wanted to install Linux Mint as a dual boot. Before the reinstall, I used the LiveCD Gparted to expand my C: from 25 to 30 GB. All went smoothly.After the fresh Windows install, I went ahead and installed all the hardware drivers and other programs I need. Now I don't seem to be able to boot from LiveCD successfully.On booting from CD Rom, it goes up until the screen with the Linux Mint logo and stays there (I tried giving it time, waited an hour and nothing).Thinking something was wrong with the CD, I tried booting a USB drive. Used Linux Live USB creator to use the same .iso file to boot from. It seems to 'freeze' at the same point.
Formatted the drive, and installed UNetbootin and used the same .iso file. This time, booted it in compatibility mode. A few commands flashed by (links to pictures below), no idea what it means. I've taken a picture, maybe you can tell me what it means? This is the only lead I have to figure out what went wrong (Even if I don't want Linux installed, booting with Live CD to recover data is invaluable)
Pictures I took of the messages in compatibility mode:
[URL]
P.S: I don't know if this is important but I thought I'd mention it. I was in Gparted (in the LiveCD) when the screen froze. I had to hard boot the laptop again, and I haven't been able to get the LiveCD to work since.
View 3 Replies
View Related
Jul 11, 2011
We are using 32 bit rhel 4 u5.Our database version Oracle 10.2.0.1.My Physical Memory(RAM)=16gbSGA_MAX_SIZE=2GSGA_TARGET=2Gkernel.shmmax=2GNow I want to change SGA_MAX_SIZE to 6 GBBUT ORA 27102 error occured
View 2 Replies
View Related