Ubuntu :: Command Line Partition Editor?
Feb 19, 2011
I have a 500G HD with several partitions. I have just added another exact 500G HD and would like to copy the partition table from the first HD to the new HD.What is a good command line partition editor to get the job done? All of my partitions are ext4. I have looked at parted but the man pages says it does not support ext3, so I guess it will not work with ext4 either.What I am ultimately going to do is to set these two HD in a RAID0 configuration without having to re-install Karmic.
View 5 Replies
ADVERTISEMENT
Oct 8, 2010
I had a great system going with a bash script to update all of my mp3 files' genre tags. Now that my music collection is ogg, id3v2 doesn't work.
Can anyone recommend a command line tool to edit tags for ogg files please?
View 6 Replies
View Related
Mar 1, 2010
I want to change the default command line editor from vim to nano, so for example when I type "visudo", I want it to user nano. In Ubuntu this can be easily done by using "update-alternatives --config editor", but openUSE doesn't have an editor-option
View 4 Replies
View Related
Dec 23, 2010
I am trying to upgrade PHP on our linux box ( CentOS ) I copied the configure command from the phpinfo and now I want to execute that.I am not able to copy the command from an editor in linux to the command prompt, clicking the wheel om my mouse does not work, neither does shift-insert or ctrl-shift-insert.It does work in the editor itself.Is there a way to do this ?Or is there a way to execute the command in linux while it is in the file ? Like a bat file on Windows ?
View 14 Replies
View Related
Nov 29, 2010
I use a ext4 partition to store my data, to mount and open that partition I open Nautilus file manager, then click on the partition icon and label on the left side.
So if I don't have a desktop environment, how can I mount a partition in terminal?
View 1 Replies
View Related
Aug 21, 2010
I'm trying to resize a partition from a command line using the instructions on this page:
[URL]
The line below is the one I can't get to work right.
Quote:
Now, using fdisk, we must resize hda1 to 6000M, and create a new partition. Command: "fdisk /dev/had".In our case, the fdisk commands are "p d n p 1 1 +6000M t 7 a 1 n p 2 enter enter w", resulting in this "fdisk -l /dev/had" output :
I've made this work before but I cheated by using Acronis to create the partitions. I really want to get it to work from command line.
View 2 Replies
View Related
Jan 10, 2011
Before I go off and write a new one, does anyone know of a good command line disk partition utility that works better than "parted"?
View 5 Replies
View Related
Nov 3, 2009
I work with a Debian Squeeze on my laptop and I have a 160GB external hard disk. My hard disk was formatted FAT32, but I decided to format it using ext2. I formatted it using fdisk from command line and everything went well. Unfortunately, when I mount my hard drive(which is auto-mounted from Debian) it has got root both as owner and group. Then I can't write to it because I have no permission to do that. Is there a setting to create an ext2 partition which has as owner the logged system user in order to have right permission every time.
View 7 Replies
View Related
Jan 18, 2010
So I tried adding a new, 2nd hard drive to my Ubuntu 9.04 desktop for some additional storage and only managed to kill my system so that it won't boot up anymore (I just get a blinking cursor after the BIOS does its thing).I could sure use a little help getting back to a functioning system, and then adding the second drive. I tried following the instructions from this link to add the 2nd drive:
(So the forum rules won't let me post the link, neato. Here it is with spaces added):
h t t p s : / / h e l p . u b u n t u . c o m / c o m m u n i t y / I n s t a l l i n g A N e w H a r d D r i v e
[code]....
View 1 Replies
View Related
May 29, 2010
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?
View 5 Replies
View Related
Mar 3, 2009
Trying to install Centos 5.2.i386 from DVD in text install (I'm assuming I need to do text install as I'm setting up raid arrays)
I have 4x150Gb raptors where I want the following layout:
/dev/sda/
/dev/sda1 100Mb (for /boot in raid 1, 4 disks)
/dev/sda2 1000Mb (for swap, raid 0, 4 disks)
/dev/sda3 4000Mb (for /, raid 5, 4 disks)
[Code].....
In the last attempt I did, sdb,sdc and sdd all had the correct ordering of partitions, but sda looked like above, which means I would need to assemble by boot array partition array as /dev/md0 = /dev/sda3, /dev/sdb1, dev/sdc1, dev/sdd1
Why is the partition numbering moving around as I create them?
View 2 Replies
View Related
Jan 10, 2010
I'm an Ubuntu newbie and I'm looking for a text editor that has options for DOS-like or Unix-like end of line characters. I'm used to working with Notepad++ for windows that has an option for Unix/Mac/DOS end-of-line characters.It would be great if I could find a text editor for Ubuntu that has this built in or as a plugin instead of running the file through a converter.
View 3 Replies
View Related
Dec 6, 2010
I am using Vi editor for editing and configuring my file.I am facing a little problem when there is long file like 3000 lines. Normally i use
Code:
:set number
in vi editor to visible my line number.The problem is when i have to go in the top of the file like say line number one I use k for it and to move down I use j which is too much time consuming. How can i jump directly my cursor to line number 2333 or line number 2600.
View 4 Replies
View Related
Aug 5, 2010
On Solaris UNIX, pressing Ctrl-g displays the line number for the cursor position.
i.e. line 1 0f n* --0%--
But, on suse Ctrl-g on displays the percentage only, not the hard line number
i.e. n* lines --8%--
Anyway I can make vi display hard line just like Solaris?
View 6 Replies
View Related
May 31, 2010
Last night my /home partition became 100% full unexpectedly. I try to keep at least 10G space available.I had been making some slideshow DVD's and copying some other DVD's and thought I accidently filled up the partition. I searched for and deleted several large files and freed up several gigs of drive space then went to bed. This morning once again I find my /home partition completely full? OK so now I'm suspicious, so I delete a large video file and watch as my partition fills up on its own in a few minutes! Using top I see that the "the" editor (The Hessling Editor)[URL]..is using 100% of my cpu. I kill "the" and my partition stops filling up. So I figured out what was causing the problem but I can't seem to reclaim all the hard drive space it used. I've searched my home partition and there are no unusually large files in it. I'm not sure how much partition space the program gobbled up but I suspect it is around 10 - 15G., so you would think there would be one really huge file somewhere but I can't find it.
I completely removed The Hessling Editor and checked for a bug report on the web site but found none.I'm just hoping someone can tell me what it did to my partition and how I might get back the 10 - 15G of space it gobbled up.
View 1 Replies
View Related
Dec 23, 2010
I have checked the forums but can't find a topic that covers this. I have an 8Gb Micro SDHC in a micro reader that I installed 10.10 onto from the Alternate DVD. Unfortunately I neglected to set up the swap and home volumes and I now have a stick with all 8GB used up.
I have configured up Ubuntu to my liking and also added some applications. I would prefer not to lose this and I don't appear to be able to adjust the partition table live to now accommodate the swap and home areas.
Is there a way to do it live or can I boot from the DVD again and adjust the one partition to three such as 4 GB root, 2G Swap and 2 Gb Home?
View 2 Replies
View Related
Dec 9, 2010
I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...
View 3 Replies
View Related
Sep 1, 2011
I was wondering what will happen if I cancel a partition half way through? I am using Ubuntu 8.10 (yes, I know it's outdated) and I am trying to install Windows XP alongside. Turns out GParted is trying to take about 16 hours to complete what I told it to do; shrink the Ubuntu partition to make room for Windows. I have a slight time constraint, and would rather not spend this 16 hours. If I cancel the partitioner right now and completely wipe the disk, will there be any permanent damage to the disk?
View 1 Replies
View Related
Feb 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
Aug 22, 2011
How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt
View 1 Replies
View Related
Jun 8, 2011
Few days back i installed ubuntu 10.10 on my system. Previously i worked on ubuntu 10.04 and used vim too, everything was fine. Now I formatted and upgraded to 10.10, when I use vim I find some of the commands missing for example :AS command used to open corresponding .c and .h files. On 10.04 it worked fine, but in 10.10 its giving error "E492: Not an editor command: AS". How to fix the issue? any missing packages i need to install?
View 1 Replies
View Related
Feb 16, 2011
Is there a way to use the grep command in conjunction with an editor such as nano or vi so that I can remove the commented out lines from a conf file and then proceed to edit it ? I can use grep -v "^#^" squid.conf (example ) which gives me a nicely tidy conf file but I can't edit it.Can this command be used with nano or ?
View 6 Replies
View Related
Jan 19, 2010
We're planning on running some performance tests on various LVM and straight disk configurations before we settle on one to use for our live servers, but while I can setup LVM volumes and partitions till the cows come home using the text mode GUI that's part of the Server Edition installer, I tend to get very confused trying to do the same from the command line. So, is there any way to get to that text mode GUI from the installer after the system has been installed? I know there are various tools to do the job within Gnome etc, but we're trying to keep the system as unbloated as possible.
View 4 Replies
View Related
Oct 13, 2010
Hey everyone, i am trying to install 10.10 on a netbook i have, and i did it all okay, but it would not boot up, so I want to re-format the hard drive, but the hard drive is not showing up on the partition editor (only thing that is showing is the usb i'm booting up off of)
I finally got it to install windows xp, but i really only want to put ubuntu on it (no need for windows on a net book)
View 1 Replies
View Related
Mar 10, 2010
I have installed Vmware on Windows Xp. On Vmware i have installed RHEL 5 update 3. Now when i use vi editor and try to split it into multiple windows using :sp or :vsp command then it does not work. Whereas i have the same RHEL 5 update 3 in one of the application server, and there :sp works fine. I tried searching online with no success. finding out why its not working on vmware and how can we make it work.
View 2 Replies
View Related
Mar 26, 2011
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,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Aug 20, 2011
HP Mini 210Fedora 15 Latest updatesGnome 3.0.1In the terminal when I do the following:nm-connection-editorI get the following:command not foundWhere is the nm-connection-editor?
View 1 Replies
View Related
Sep 28, 2010
I have a file which contains a table
row1 ✔ no ✔ no
row2 no ✔ ✔ no
... so on
I want to prefix the number of ✔ to corresponding row If I use the command :.s/✔//gn I get output written like '2 matches on 1 line' How can I extract the '2 matches' in above case ?
View 11 Replies
View Related
Feb 17, 2010
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.
View 1 Replies
View Related
Jun 18, 2010
Code: cmd='date | wc'
$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?
View 4 Replies
View Related