CentOS 5 :: Partition Editor Creates Bad Partition Numbers In Text Install
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
ADVERTISEMENT
Oct 9, 2010
I started withsda1 windows restore sda3 extendedsda5 swapsda6 /mandrivasda7 /SUSE 11.3
sda8 /SUSE 11.2I then made some changes with gparted (from PartedMagic 5.5) to create an ntfs partition to simulate a condition where someone may want to delete that partition and use the free space for linux. I then deleted that partition, sda2 then sda5 (swap) and taking some screenshots, went about resizing partitions to use that free space and then recreate swap. the intention being to create a basic guide on how to go about this.I have previously only had my swap at the end of the extended partition, deleting itand recreating it later had caused little trouble.I realize that a resize/move operation would have been a better choice.What I was not expecting was the partition number changes that occurred.
Code:
root@PartedMagic:~# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
[code]...
View 9 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
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
Feb 23, 2011
Im using an if statement in the bin ash shell and it isnt working.
Code: if (( 5000 > $available_blocks )) then echo "WARNING Disk space low, "$pct_used" is used" fi
I don't think its a problem with the if. When i use that code it creates a file with name of the value $available_blocks instead of using the '>' sign for comparing the 2 numbers.
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
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
View Related
May 27, 2011
I installed Debian stable and I see these errors in the xsession error file
/etc/gdm3/Xsession: Beginning session setup...
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
SSHAUTHSOCK=/tmp/keyring-j0E6Br/ssh
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
[code]....
View 4 Replies
View Related
May 20, 2010
I was installing opensuse 11.2 in parallel with windows xp.but during installation suddenly power has gone and after that opensuse is giving me the error message corrupt partition.i am also not able to login in xp. so I decide to reinstall windows, I got the error saying "invalid partition table" after the first restart of windows xp installation.
I tried to use windows system recovery console and committing fixmbr and fixboot commands, but didn't work.
i have 2 window partition(1 for windows and 1 for data).i do,nt want to format 2,nd partition.
How can I installed windows?My plan was first to install windows xp, then opensuse again.
View 2 Replies
View Related
Sep 4, 2010
Trying to install Ubuntu (any atm) on my father's HP destop. When i install, the partition manager wont allow me to shrink the windows partition to fit ubuntu in, and when i go to gparted to do it manually, it says that there are damaged sectors. is there a way to force ubuntu to install?
View 2 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
Apr 3, 2011
The default partition manager which OpenSUSE DVD 11.4 uses (Expert Partitioner) is not creating any logic partition with / mount because another system is already using it, is there anyway to fix this?
View 9 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
Jul 25, 2011
On windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.
View 1 Replies
View Related
Mar 7, 2011
how can i strip out the # command in CLI on openSUSE? or the exact way of this command in ubuntu
sh -c "grep -v -e '^#' /etc/squid/squid.conf.backup | cat -s > /etc/squid/squid.conf"
View 6 Replies
View Related
Jul 3, 2010
I have just downloaded the Screem text editor source from their website.I tried to aptitude it first, but it wasn't available in the repos. So I thought maybe building from the script would be the solution. The problem is, this package doesn't build with the usual configure, make and make install commands.Well ./configure works. It checks the system and dependencies.
View 7 Replies
View Related
Apr 10, 2009
I'm a new Centos 5 user (and a first-time poster to this forum) who needs to partition a 16G VPS this weekend for installation of DirectAdmin's Web Control Panel on Monday. I know there are different methods and I'm not sure which to use. I can, however, use both command line functions, which I typically do via bash shell (PuTTY) and GUI. I checked out RHEL's instructions and they're based on Disk Druid. I don't have that software and don't know where to get it. I've checked and don't have anything like cfdisk (or any of the other programs listed here--> [URL]) installed either. Here's the configuration I need to create:
[Code]....
I need command line instructions, software suggestions, good tutorials (created with a Newb who has only used Windows (I'm currently running 64-bit Vista on a desktop I built from bare metal but am quickly learning Linux using a virtual desktop with Centos 5 on KDE installed which I've largely configured myself) and any other information/advice you can provide.
View 8 Replies
View Related
May 21, 2010
I am trying to install a box here where my /storage partition is about 2.5T.I had setup the partitioning with suse, while testing, and all worked well.Now when trying to install CentOs 5.5 it gives me an error, that my boot partition is on a gpt partition and this machine cannot boot that.Also I don't see the option to create XFS partitions from the installer.Can 5.5 support GPT @ install time?
View 1 Replies
View Related
Apr 8, 2010
i tried installing windows 7 on a partition on my laptop but i'm getting this message:"setup was unable to create a new partition or locate an existing system partition "i tried googling and found that it has something to do with the number of partitions:my hard disk layout right now:
p1 ext4 21gb /home
p2 ntfs 64gb
p3 ext3 18gb ubuntu installation
[code]....
View 6 Replies
View Related
Apr 21, 2010
I have little experience with Linux, took a course, read bulletproof linux. That was several years ago. My friend convinced me to set up opensuse kde with him, so I did.Set it up a few days ago on my semi-new Hitachi 1TB drive. XP was installed first, cloned from the previous (failing) drive, and took me forever to get it working.It was set up as:
Hitachi HD:
1st part: XP (250gb)
2nd Part: opensuse system
3rd Part: opensuse swap
4th Part: opensuse data
(2/3 may be swapped)
I still had 600GB unpartitioned and went to add a new 250GB partition via windows xp disk manger.Next thing I know, disk manager freezes and errors. I reboot for other reasons, and am greeted by grub (never used it before) stating ..well stating nothing.I tried the opensuse install DVD repair option and got corrupted video at first. Then I tried safe settings for booting the installer.I'm now in the YaST2 repair manager.I tried to recover partitions, but it's locked to scan only Partition 1, which is my XP partition. It says no valid linux root partitions exist.
I also tried loading the linux root partition with grub (didn't know the namescheme for the HD's, but I think it's devsda for HD0), no dice. I can't seem to find any hard drives through grub, but I'm unfamiliar with it.My goal is to get my xp back up and running. My guess is that XP tried to edit the partition table and screwed up something.The partition listing through YaST2 partmanager shows all my partitions.A good walkthrough would be great too, but at the moment I'm just going Really? It was that easy to annihilate all my bootable systems? I could also nuke the linux partition and use XP's recovery console and fixboot, then worry about the linux later. I haven't gotten it set up completely yet.
View 9 Replies
View Related
Jul 22, 2010
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
View 6 Replies
View Related
Mar 21, 2010
I'm looking for a light-weight text editor for general-purpose composition that can preserve indentations on wrapped lines.
View 3 Replies
View Related
May 11, 2010
Is there a simple text editor for Linux that will let you color or highlight text on demand? Something like gedit or leafpad with color? I know I can probably do this with vi or emacs, but I'm looking for something simple, need not be feature rich.
View 4 Replies
View Related
Jan 14, 2010
Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.
View 5 Replies
View Related
Apr 24, 2010
I just bought a new hard drive so that I could convert my XP-only machine into an XP-Ubuntu-Windows 7 triple boot machine.Since the drive is absurdly huge (1 TB) I wouldn't mind throwing ReactOS into the mixtoo.I just found out that master boot records are limited to 4 entries, meaning 4 primary partitions. I had Windows XP set up on my old drive as a boot partition, a program files partition and a media partition. Since I really didn't want to install XP from scratch, I cloned this setup on my new drive.
This leaves me one MBR partition entry for installing Windows 7, Ubuntu and ReactOS. I'd like to avoid having to install XP from scratch like the plague, partly because it's supposed to be a safety net in case things go wrong with my other OS's and because I've invested a lot of time getting it set up exactly the way I like it.Here are the options I've considered and why I don't like them:Install Windows 7 on my media partition. This would work, but I prefer to keep my media partition completely separate from any OS, so that I can reformat an OS partition without affecting my media partition at all.
Use wubi or something to install Ubuntu in the same partition as something else. Again, this is brittle.Move all my media to a logical drive on an extended partition. Create another logical drive on this extended partition for Ubuntu. The problem here is that extended partitions are rather brittle--if you nuke one, it renders the rest useless.Just put the old drive back in my computer and run XP off it. Use the new one for the other OS's. The problem here is that the old drive is slower and uses extra power, generates extra heat, etc.
View 2 Replies
View Related
Jul 17, 2009
I was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:
pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo
And I was about to install the last dependency: ATK (Accessability Toolkit).I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.
View 2 Replies
View Related
Mar 14, 2012
I print something with cups-pdf. The pdf appears, it LOOKS as it should, BUT if i actually select text from the pdf viewer and try to paste it somewhere, i get messed up characters (sometimes no characters). So this means that searching too is out of the question i guess.
Why is this happening? I dont know if its a ghostscript issue because on Windows there are several gs based pdf printers and those create perfectly searchable pdfs. Is this a cups/cups-pdf specific issue?
PS Printing through the "Print to file" dialog creates good pdfs but i dont know how to replicate that via command line.
View 3 Replies
View Related
May 10, 2010
I'm working with a rather large file of data taking from a tracking program on my phone, and trying to pull only the longitude and latitude from it. Any given line in the data looks more or less like this:
{"lon":-122.3083848,"time":1.273515839496E9,"source":"skyhook","nap":28,"altitude":0,"name":"location","hpe" :29,"bearing":0,"ncell":0,"lat":47.6544453}
I've run it through this command:
grep skyhook log-2010-05-10_18-17-28.json | cut -d"," -f1,10
to get this:
{"lon":-122.30872015,"lat":47.65812201}
{"lon":-122.3076686,"lat":47.6569975}
{"lon":-122.3079161,"lat":47.656395}
{"lon":-122.3096168,"lat":47.656218}
{"lon":-122.3096285,"lat":47.656206}
Which is a lot nicer, but I would prefer not to have to hand remove the non-number characters by hand since there are thousands of data points. what I could do to get it to just be longitude and latitude in 'number number' format?
View 8 Replies
View Related
Sep 19, 2010
3 partitions (in order): Windows 7, CentOS and shared data partition.
I need to increase the size of the Windows 7 partition (c:windowswinsxs seems to be something not easily remedied).
GParted didn't work in moving things around (bad sector) so I wiped out its partition (# 2 out of 3) and I was able to increase the size of the Windows 7 partition (I can reinstall CentOS easily and not much work lost).
Except ... no more grub menu (unsurprising). This incantation does allow me to boot into Windows 7.
Is there any way of rebuilding the grub menu short of reinstalling CentOS (5.5)?
View 2 Replies
View Related