Ubuntu :: Dd If=/dev/zero Of=/dev/sda1 \ Low-level Formatting An HD From Another Computer?
Jan 8, 2010
I am in 9.10 LiveCD , low-level formatting an HD from another computer, but when i did# dd if=/dev/zero of=/dev/sda1 dd does something , but at 413 MB stops
root@ubuntu:~# dd if=/dev/zero of=/dev/sda1
dd: writing to `/dev/sda1': Input/output error
806433+0 records in
[code]....
View 9 Replies
ADVERTISEMENT
Jun 24, 2010
I use this tool on windows [URL] for low level formatting hard drives. I have been looking for a tool like this for ubuntu but having now luck. I read on another thread that I can use this command - sudo dd if=/dev/zero of=/dev/sdx. Will that work aswell? if so is there a front-end available for it?
View 6 Replies
View Related
May 8, 2010
How can I adjust the levels at which the battery is considered to be critically low?ight now it seems this is set at 5 or 10%. I want to make it 20 or 25%This is for Gnome. I am using Lucid x86
View 1 Replies
View Related
Aug 10, 2010
I've been able to kludge a kill script which finds the correct pid for the kdeserver (or gnome server) after my system comes up in run level 5 so I can drop back to run level 3 mode. Lots of experimentation showed me that using telinit 3 and telinit 5 would occasionally leave the video memory in a mess and I would have the black screen of death.
I set the security parameter setting to autologin for me since I am the only user of my machine, but I still have to kludge the default setting under sysconfig (the DEFAULT_WM) under Window Manager to pick a certain window manager, so it takes time to manually switch the desktop.
Right now I can leave the gui and drop back to cli, but painful experimenting showed me that killing the X server is a no no. Right now I kill the kde server, which sends the SIGTERM to the X windows manager, which then figures out that it has to shut down.
Questions: Is there a better way of doing this? Apparently openSUSE figures that we have multiple users logging into the gui desktop, so the gui is always kept running and a login window with the desktop manager option forces the user to login in. With autologin, this never happens, but no choice of desktop is possible on the fly.
Can some type of script be set up to painlessly enable this to happen? And what is the best way of bringing either the Gnome or KDE desktop manager down gracefully? I do get lots of error messages as the system attempts to recover and X shuts down. It appears that apparently the single user with autologin is left out in the cold.
View 4 Replies
View Related
Feb 6, 2010
I want to install a software called TinyOS which is an operating system designed for wireless sensor embedded networks in my account. The problem is it has instructions to install the software as an administrator since i'm not an admin of the department network i can not able to install. Is there any method to install this software as an user level rather than admin level.
View 3 Replies
View Related
Jan 15, 2011
hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.
View 3 Replies
View Related
Jan 6, 2009
I want to know what are the advantages and disadvantages for accessing spi(serial peripheral inerface )from kernel level and user level. like methods of doing it, speed ,memeory utilization etc
View 1 Replies
View Related
Jul 21, 2010
[code]...
you can find a cutout of an output generated by "iwlist s" command for a cell. Does anybody know what Quality, Signal level and Noise level mean? What is the definition of them? I searched for it and could not find good information on it. What do these Extra:*** fields for? What does it show in the example above? How were those values computed?
[code]...
View 1 Replies
View Related
May 12, 2009
Hi Guys,
here is my scenario:
I am running F10 x86_64 with Nvidia Quadro FX 3400.
I installed the drivers and it worked just fine. No errors generated according to Nvidia log files.
However, while in run level 5 when I try to switch to run level 3 by typing "telinit 3" or "init 3" the X server goes down and I get a blank screen. Same thing happens when I try to switch to a different tty session by <ctrl>+<alt>+F2 (or any F key for that matter).
I also noticed that when I shut down my system I can't see any more the screen where services are shutting down and their status ([OK] or [failed]).
Would appreciate your help on solving this issue.
View 3 Replies
View Related
Jun 17, 2010
Hey Guys, I'am new here and request your help on this:
After installing emacs and a few dependencies on my RHEL 5, on restarting the system, the keyboard was not able to work. I restarted several times in vein.
However, when I start in single mode, it works perfectly. I have tried looking for a solution from google, but in vein.
Kindly help...
Regards, Andrew
View 1 Replies
View Related
May 27, 2010
I have a directory that has a another directory inside it. The top directory is rather redundant since it only contains the one other one. Is there a way to delete the top level directory and have the contents simply "move up a level"?
View 6 Replies
View Related
May 23, 2010
I just upgraded to the 10.04 and everything works just fine as before (except for skype but that really doesn't matters as it has already been 3 years I'm using ubuntu and I managed to get it to work only once, for miracle I believe ^^). The only real issue I have is this: when I start up my laptop, after the log-in, no sound will be heared as the "speaker" volume level in alsamixer is set to 0; if I raise it from the terminal running alsamixer (as I don't know any other alternative) everything plays just fine, but the next time I boot I do have to do it all over again... So, how can I change the default startup level of the "speaker" in alsamixer?
PS: by the way I do have the very same issue with the screen luminosity but the other way round as is always starts at maximum brightness and I can't manage to get it to start at the minimum, as it did before. At least reducing the backlight if far more quick but a couple of times I forget it and the battery lasted something like half an hour
View 9 Replies
View Related
Aug 20, 2010
Usually if I want to do a fresh install I just wipe the disk, but this time I really want to keep my home partition and overcome a libwnck bug that can only be beaten with a fresh installation.
So I need to completely replace 10.04 on partition 1 (root) and link it to partition 2 (home). How do I do this?
View 3 Replies
View Related
Feb 7, 2011
i'm having quite the time trying to automount both my windows partition and sd card on boot. when i go into pysdm, it shows that sda1(windows) is actually sdb1(which is my card) so my windows partition wont ever automount! heres a pic along with my fstab:
Quote:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc
[Code]....
View 3 Replies
View Related
Feb 26, 2011
I turned on my laptop today and noticed a load of unfamiliar startup text so I knew something was wrong. Now whenever I startup my laptop, GRUB loads fine but when I try to start Ubuntu it says the following:
Quote:
mount : mounting /dev on /root/dev failed : No such file or directory
mount : mounting /sys on /root/sys failed : No such file or directory
mount : mounting /proc on /root/proc failed : No such file or directory
[code]....
so all I'm left with is this BusyBox command prompt. I'm on a live Ubuntu CD right now and if I try to mount /dev/sda1 either in the terminal (with the mount command) or with the GUI it just gets stuck.
Quote:
This will provide you with a list of your drives and partitions, you need to pick the one that your root file system is installed to, it will be something like /dev/sda1 but in my case I can't even mount /dev/sda1. When I run sudo fdisk -l heres what I get
Quote:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
[code]...
thats weird because I rebooted with a live Ubuntu CD and didn't even try to mount /dev/sda1 this time. The instructions were to then try to mount the drive from the GUI so heres what happens when I do that: it attempted to mount it for about a minute then gave me this error message When I tried again heres the error it gave me The problem seems to be that /dev/sda1 can't be mounted for some reason.
I don't know what that error message means and I don't know what else I can do to further diagnose /dev/sda1 and find out why it can't be mounted. Ordinarily I'd just reinstall Ubuntu but I have a couple of lab reports that I had saved on that partition so I'm in trouble if I can't figure out how to access the partition.
EDIT: At the end of that other thread someone recommends to use testdisk to recover the data from the partition. All I really need to do is get those lab reports back but I had them saved inside a Windows 7 guest on Virtual Box. Will this complicate matters a lot for me?
UPDATE: I tried to reinstall Ubuntu and it wouldn't work. Seems this is a bigger problem than I suspected. Does this mean my harddrive is corrupted? I can still use the Windows 7 partition but I take it that the Ubuntu installer not working is a bad sign.
View 3 Replies
View Related
Mar 16, 2010
I'm setting up my menu.lst for GRUB Legacy (downgraded from GRUB2 in 9.10) and I'm just having difficulty getting my head around converting the /dev/sda1, sda2 etc to hd(0,0), (0,1).
My partitions are as follows:
sda1 = Windows XP (ntfs primary partition)
sda2 = Windows Vista (ntfs primary partition)
sda3 = Linux boot (small ext2 primary partition)
sda4 = extended partition
sda5 = Windows XP second different installation (ntfs logical partition)
sda6 = Ubuntu 9.10 root (ext3 logical partition)
sda7 = linux-swap (swap logical partition)
As I said, I am trying to set these up in GRUB, but cannot work out what all the hd(0,x) equivalents are. I *thought* it was just a case of subtracting 1 from the sdax number, but it doesn't appear to be that way.
View 2 Replies
View Related
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
Dec 1, 2010
I'll avoid the details of what got me here and get right to the point.I have two primary partitions on 1 hard drive. sda1 is my fat32 recovery partition and sda2 is my ntfs windows xp partition. I need to know how to change the order around so xp is sda1 by using the terminal in the ubuntu live cd.
View 9 Replies
View Related
Jun 8, 2011
In a desperate attempt to play Tomb Raider, I have shrunk the /dev/sda1 with GParted in Maverick Live CD (the same one I used to install) then installed WinXP on it. Unfortunately for reason X, XP simply does not boot. So again I am in the Live CD, I have deleted the XP partition and am now trying to fix Grub2. In all the tutorials, you need to mount the normal partition. Which is what I am trying to do, but:
Code:
sudo mount /dev/sda1
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
So there in nothing that I can do. Under "Places" I see my 489GB file system but I cannot mount it.
At least I am getting Internet through the Live CD and I always have Knoppix on hand.
EDIT: I should tell you that there is a boot flag on the /dev/sda1.
View 1 Replies
View Related
Mar 25, 2010
When, from the live cd I try to execute
Code:
e2fsck -y /dev/sda1
All i get is:[code].......
View 3 Replies
View Related
May 5, 2010
I'm trying to install Lucid on a computer with windows already present. When I ran trough the install procedure no drives show up at the partitioning stage. So I check some things out and it turns out that /dev/sda1 is mounted to /cdrom and I can't umount it because it says the disk is in use. I'm booting with the live-cd downloaded from ubuntu. Why is this happening? Previously with older live-cd's I always have to mount the HD manually if I wanted to access it for any reason?
View 2 Replies
View Related
Jun 5, 2010
I tried to update my system from 9.10 to 10.04 but when the system boots it says that it can not find the symbol for grub_puts_ and drops me into grub rescue.
I have a live disc and have been trying to get grub to reinstall following the advice from different websites and forum threads. It seems that everything goes smooth until I get to the part where you run update-grub. At that point I get the following:
/usr/sbin/grub-probe: error: cannot find a device for / ( is /dev mounted?).
My configuration is as follows:
windows is loaded on /dev/sda1. fdisk -l lists this partition as bootable.
linux / is loaded on /dev/sdb1
/usr is loaded on /dev/sdb5
/var is loaded on /dev/sdb6
/home is loaded on /dev/sdb9
[Code]....
this is where I have problems. it says: /usr/sbin/grub-probe: error: cannot find a device for / ( is /dev mounted?).
View 2 Replies
View Related
Aug 21, 2010
The problem I'm having didn't seem to be covered in other posts. Despite following what is supposed to be a straigtforward method, I am still unable to mount /dev/sda1.
Using Ubuntu 10.04 LTS LiveCD - Lucid Lynx
sudo /bin/bash
fdisk -lDisk /dev/sda: 250.1 GB
Disk identifier: 0xa08ea08e
Device Boot Start End Blocks Id System
[Code].....
I find it strange that fdisk sees the drive but mount doesn't.
View 2 Replies
View Related
Oct 15, 2010
I've reinstalled Grub2 multiple times before, but Ubuntu was on /dev/sda1, now it is not. Here is my partition table:
/dev/sda1 - 105GB - Windows
/dev/sda2 - 200GB - Extended
/dev/sda5 - 110GB - Media
[code]....
View 4 Replies
View Related
Oct 25, 2010
I have had the same problem of /dev/sda1 becoming full and have been able to fix it with the commands:
sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
But this time I am still unable to free significant space. Here is the output of various commands.
df -h
/dev/sda1 5.6G 5.4G 0 100% /
varrun 498M 108K 498M 1% /var/run
varlock 498M 0 498M 0% /var/lock
udev 498M 76K 498M 1% /dev
[Code].....
View 1 Replies
View Related
Dec 31, 2008
I have two large HDD's in my windows based system. Of course I partitioned them and such (by the way the OS is XP Home) I decided that i would like to try Ubuntu so set up a live CD of version 8.10. now I used the install directions on the disk and installed onto a external 500 gig HDD.Now I can't boot to XP and I get GRUB errors. Some times iit's error 17 sometimes it's 21 . I try using the command terminal ...sudo ms-sys /dev sda1 (my boot-able NTFS disk) but I get "Unable to open -m/dev/sda1, No such file or directory"
View 5 Replies
View Related
May 28, 2010
I was upgrading from 9.10 to 10.04 and now my HDD can't boot at all to the 2.6.34-rc6 kernel, I get dumped to the busybox shell, and when I select the 2.6.30.9 I get "The hard drive for / is not ready or not present."
I can see the drive fine with fdisk -l, /dev/sda1 is my HDD, but when booting something isn't working right. Also, is there a way to make GRUB 2 automatically show the menu so I don't have to hold down the shift key?
View 5 Replies
View Related
Jun 28, 2010
My problem: 1GB-capacity dev SDA1 got filled up to 100% and made system unusable in less than one month. No downloads or updates were made during this period of time. I don't know which files/programs would be safe to delete since it all seem to be system files.
Here is a screen-shot that might shed some light on what is happening
[URL]
View 14 Replies
View Related
Jan 8, 2010
I had an interesting problem with my workstation this morning. When I booted the system I got a message that the sda1 filesystem was corrupt. I ran fsck on all the unmounted filesystems and found them to be clean. I then booted from the F12 live CD and checked the file systems again using 'Disk Utility' - everything appeared to be clean. However I still couldn't boot the system. I eventually reinstalled F12 from the Live CD.
Seems to be a bit strange as all the checks I ran showed the file system to be OK.
View 2 Replies
View Related
Oct 27, 2010
I am just wondering if I have a HDD with several partitions, sda1, sda2, sda3, sda4. SDA is how Linux understund entire HDD, and sda1 is the first partition. But the question is if first 512 bytes of sda1 are the same as first 512 bytes in sda.
View 3 Replies
View Related