Ubuntu :: Formating All Drives Through Command Line?
May 25, 2010
I dont know what to do, since noone responded me, I think I need to do this. My problems are in my previous post, all I am asking for a little advice on how can I remove all that is in my PC throught the command line(I can't get further)
setup a number of shared drives for accessing music, movies, photos and general files (documents, pdf files etc). now while a gui would be great, how to use the command line to setup these shared drives and also how to make the available in both windows and linux.
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?
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
i have sd drive that does not want to format. I tried gparted with errors saying the same thing...i want use this drive as free so i can put pictures in it and stuff
Code: root@sal:~# sudo chown sal /media/fc30-3da9 chown: cannot access `/media/fc30-3da9': No such file or directory
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash # #TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I'm not sure what to make of this. I have setup an Ubuntu 10.10 server with two software raids.md0 is a four disk raid5 - 3TBmd1 is a two disk mirror - 300GBI think I have a drive failing (and am going to replace it regardless, but I have to take an outage), what appears to happen is it comes on-line with one id (/dev/sda) then something happens AFTER the rebuild completes and the drive changes to another id (in this case /dev/sdh) and puts the array in a failed state.Is this some sort of protection mechanism to prevent degradation to the array? When setting this up, presumably before the disk started to fail, Ids seemed to jump from reboot to reboot and caused me all kinds of issues.Also, neither device appears to return info after the change.
i have 2 hard drives with originally Win XP on one of them, and i thought it would be cool to have one with WinXP and the other one with Linux.so i choose Ubuntu. i just wished someone would have told me how Pro you really have to be for Linux.and that its totally not what i was looking for,...and apparently im a total Noob.so i Installed it, wasnt that hard, and first i thought what a cool OS ill keep it!than i tried Booting my Old OS *WinXP* from the other Harddisk (worked perfectly until than)/so Basically Ubuntu ****** up my WinXP because now i get the NTLDR Missing Error trying to start WinXP, that never happend before with that Pc.
i tought great now i have to reinstall Xp, but it came much worse,...i boot from the XP cd, and cant use the "normal" install funktion, because some errors say that i cant use the Partitions etc (no idea) up to cd reading errors,...so i wanted to try the Windows Repair console and easy Format C and D to get rid of Linux and reinstall a clean WinXP/ which OFC needs a stupid Admin Password, which i honestly NEVER have choosen.(i have no idea what the admin PW could be).than i made the big mistake of all, and tried to learn to Format anything with Linux,...20 stupid "tutorials" Later i still couldnt make it because im not that good with English and Linux,.
and all that programming speech, fdisk etc really is to complicated for me,...(i spent 1 hour finding where to enter the any command, because all tutorials ofc know that you ofc need the Terminal application,....half of the "how Tos: and Tutorials simply dont work because he doesnt know the Commands im entering probably Wrong, and and the other half is way to complicated for me to understand and requires knowledge i simply dont haveholy mother of god, i can tell you i never missed Windows so much,... right click, format done,... (again im not that good with Pcs)trying to get a windows admin pw is even more complicated than simply formating,... i guess.so now after aproxx 5 hours of trying to Format a hard drive under Linux i give up and came to you.
what i would need is simply a totally Idiotproove Manual to format Everything! i have NO Idea how Linux works,.. so please if you could tell me step by step, just what to type or what buttons to press in this stupid Terminal,....i want the whole Pc clean again, so i never have to Suffer under Linux Pro"ness" again seriously its been a long time since i was so angry with my computer, and youre my last hopeand yes im very aware that im posting a kinda antiLinux thread in a Linux forum,
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code: #! /bin/bash # #TODO write this for gnome and xterm USAGE=" ${0##*/} [-x] [-g] code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code: gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I have a ubuntu sever with a raid1 data drive formated in native linux ext3. I have searched for answers to my question but most likely I'm not asking it correctly. I want to use the data drive to store backups of files from various ubuntu and windows machines. Do I need to reformat the drive as ntfs to enable windows use or can it remain as ext3? For that matter can I reformat as ext4 as a soultion? Again, I wish to use the data drive as a backup storage.
I am trying to read a 5 1/4 in. floppy disk using an Intel D865 PERL motherboard, at 3 GHz. Bios was set to read this floppy. The system Lenny 2.6.31 i386 can't detect the 5.25 drive. Drive select seems not to be responding on the 5.25 drive. When connecting a 3 1/2 in. drive to the same motherboard connector (after changing the BIOS setting appropriately), r/w is ok under both linux and XP. I have tried three floppy 5.25 drives and different cables. All known to be ok on another box. I have tried XP and another linux, Etch. I have installed the latest available Bios upgrade from Intel. Upgraded from 0061 to 0089 bios versions. Is this a possible connector difference between 3.5 and 5.25 drives on the drive select line? The cable drive end connectors are different between the two drives.
Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample
Code:
yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.
I have formatted a sd card ext3 for some test but I would like to to reformat to vfat. I have used linux to reformat using mkfs.vfat but still can't read it in windows. The next thing I was going to try was to dd from a good SD card but wanted to see
So, I plugged in two hard drives to my server. I started with two, an IDE and an SATA. Then I plugged in another SATA and an external SATA using a PCI controller card.
I currently only have command prompt (Putty) access. How can I set the drives up to be usable. They were on another server that died.
I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.
I downloaded the KDE openSUSE live-cd image and I burnt it on a CD and two different flash drives (using the dd command, as intended) and my computer freezes even before it boots the live cd/usb, at the bios laptop welcome screen (where you access the boot menu etc.)
I have an HP 6735b: ATI Radeon HD 3200, Broadcom wireless card. How could I fix this?
How can we do everything, or as much as we can do, from the command line? In particular, I am trying to get rid of the top panel in Ubuntu. Because,
1) It takes unnecessary valuable space. 2) Even if I use a huge monitor, it introduces distraction to me while working.
I created a shortcut so that with a single keyboard key I can open a terminal. For example, if I want to restart the computer, I use: "sudo shutdown -r now". Or I can even create a shorter alias. So I do not need the logout menu. But my problem is, some programs put an icon on the top panel when they are working. So, what is the best way of using command line, and getting rid of the top menu.
I was wondring if 7zip still only runs in the command line. I searched and got a bunch of old threads like this: [URL].. but I'm not sure if that has changed since 2007. A GUI would be awesome.
I have a virtual private server that I SSH into. While I am using SSH, I need to be able to FTP from command line to another server. I want to do this in the easiest most sure way possible. (I am not using my real IP below for security.) I have tried the following commands.
sftp 10.99.99.99 ssh: connect to host 10.99.99.99 port 22: No route to host Couldn't read packet: Connection reset by peer ssh 10.99.99.99 ssh: connect to host 10.99.99.99 port 22: No route to host
About two months ago I upgraded my dual boot Linux-x86-64 Vista from Heron to 10.04 Lucid. Initially everything worked fine including wireless etc. Once I accidentally changed a few /etc permissions which caused a problem, but fixed it going into recovery mode. For the past weeks, I only used the windows. Over the weekend I tried logging into Ubuntu, the gnome would not come up. So, I went into recovery mode and typed "sudo apt-get update && sudo apt-get upgrade" which also went through. However, after that I lost the recovery options. I had used that command very successfully in the past. Right now, I have no command line that would allow me to type something. I was wondering if there are any keys Alt+Del + something that would give me a prompt I can work with. I'm totally baffled as to how this can happen.