General :: Comment On Partitioning Strategy?

Mar 7, 2011

I'm planning to partition a new hard drive to dual-boot Mint+Mepis. I've read partitioning tutorials and posts, and want to check my understanding--I'd appreciate input from an experienced person.For 500GB hard drive, dual-boot Mint+Mepis:

--Mint: / root partition for OS; /home partition for ease of upgrading
--Mepis: same as Mint
= four partitions

And:
/swap partition to be shared between Mint+Mepis
/shared partition for shared data
= two partitions

Total = six partitions

Since four primary partitions are allowed, I should use three primary partitions and one extended partition containing three logical partitions.Is that correct?If so, what should go where? I assume there's an optimal strategy--Should each /root of Mint+Mepis go in a primary? What should go in the other primary, and in the three logicals? Or maybe I don't need three primaries?--use two primaries and four logicals?

View 4 Replies


ADVERTISEMENT

General :: Backup Strategy For Mixed Systems?

Apr 8, 2011

I need a new backup strategy for my two machines:

One machine all WinXP
Second machine: Win7 on one hdd; Ubuntu on second hdd

Backup target drives:

Two new WD Caviar drives in vented external enclosure with fan (no RAID)

1) How do I format the target drives to accept Clonezilla images of all three OS's?

2) How do I format the drives to accept incremental data backups from all three OS's done between scheduled imaging?

Second machine (Win7 & Ubuntu) is not yet running, still in delivery box.

View 1 Replies View Related

General :: Ubuntu Boot Optimization Strategy And Oddity

Jan 7, 2010

I want to get Ubuntu blazing fast and I started out by changing the swappiness to just 10 and got a huge performance spike. I was very happy with that. Then I used rcconf and GNOME's startup applications GUI and edited out quite a bit but still have a somewhat slow boot. Well, the next thing I thought I should do is edit the inittab and rid my self of some surely unneeded services. Well, according to this website, Ubuntu doesn't use this inittab, but etc/event.d doesn't exist either! Well I looked in /etc for something related to init, and I believe I have found where these services are called upon. /etc/init.d and /etc/init.

Now the files contain many scripts for different services so I was wondering how to edit these to turn them off to optimize my boot! Do I comment out the unneeded ones? My next question is what strategy should I use as I edit these? I think I can get rid of "ssh" and "cups" and "samba" since I don't use these. Can someone point me to a nice list of services and their functions? I just want to optimize Ubuntu as much as possible to not only have a fast computer for my self and family to use, but to impress Windows users with the speed that can be obtained from Linux!

View 4 Replies View Related

General :: Get Rid Of Surplus Comment Lines With Sed?

Feb 14, 2011

I have a large text file and I have some comment lines in it beginning with $.

Now here is the challenge there are some lines where there is actually a written comment after $ (with some blanks between)

Then there are lines with only $ on it - with maybe some trailing spaces.

I would like to delete these dummy lines...

Lets say from

$ This is valid comment
$
$
$

[Code]....

View 3 Replies View Related

General :: Find Pattern And Comment Out 2 Lines After It?

Oct 14, 2010

How do yo find a pattern with sed or awk and then:

- add a # at the beginning of the line containing it

- and add a # at the beginning of the following 2 lines, too?

Say, I want to comment out the line containing "which 0launch" and the two lines following it:

if [ -x "`which 0launch`" ]; then
exec 0launch http://rox.sourceforge.net/2005/interfaces/ROX-Filer -S
fi

Expected result:

#if [ -x "`which 0launch`" ]; then
# exec 0launch http://rox.sourceforge.net/2005/interfaces/ROX-Filer -S
#fi

I need this because I do not want to comment out every line containing "fi", just the "fi" of this specific if statement.

View 3 Replies View Related

Fedora :: Strategy To Set Up Groups And Permissions

Nov 12, 2009

I'm setting up a Fedora 11 server for the company of one of my friends. So far so good. But now he has asked me to setup access restrictions to folders through samba. Now I'm quite familiar with user access policies, even though I'm quite new to the GNU/Linux world. What I want to know is : what is the best way to give and remove, on the go, rwx access for a specific user to a certain folder in a linux system? Can I create groups for each folders, whose members will have the given permissions? Or do I have to create users for each folder and add to their group the user witch i want to give privilege to?

View 5 Replies View Related

Ubuntu :: Strategy To Schedule Rsnapshot If Pc Is Not Always On?

Jun 20, 2010

I just did my first rsnapshot backup of my /home/ to an external harddisk. When I am not at my computer for a couple of hours, I always shut it down. Therefore, there are no predictable hours of the day where I know that my computer is running. So, how should I schedule/crontab my rotating rsnapshot backups?

Is anyone using rsnapshot in combination with a schedule which is not based on exact times but rather on the time the computer is running?

View 2 Replies View Related

Slackware :: Best Strategy To Install Uninstall ?

Apr 8, 2010

I compiled and install a binary source using "make" and "make install", but after I done that I think it's kind a messy not to build it in package. Therefore I tried to uninstall it and make a package out of it.

Questions:

1. How do I uninstall a compiled binary from "make install"? Some suggested to do it manually. How do I do it cleanly so that I won't miss any spot?

2. I understand that makepkg is used to build a package. I have the binary compressed in tar.gz format and have some difficulties to understand the man page for makepkg since I'm not familiar with "make". How do I build it using makepkg, what is the proper step?

View 9 Replies View Related

CentOS 5 :: Best Strategy For Cloning Drive

Oct 3, 2009

I have a rock solid server running CentOS 5.3 (probably 5.4 soon enough). Basic LAMP box with a few tweaks thrown in. Everything is running perfectly, with one problem - the drive is too small (I project it filling up to dangerous levels in 6-8 months). So, what I'm looking to do is basically clone the drive, store the image, pull the current drive and replace with a bigger drive (same number of heads and cylinders though), and install the image.

What I did do once, a million years ago, is put the new drive as a slave on the same IDE cable, and use dd (working from a live CD of the distro) to copy from the master (smaller) to slave (larger). Then, yank the smaller, change jumper on bigger drive from slave to master, and away I go. Next step as I recall was using gparted to get access to all the space on the new, bigger drive.

Is this more less still a reasonable way to go? I recall the issue was making sure the old smaller and new larger drive had the same number of heads/cylinders (although I don't remember exactly why).

View 7 Replies View Related

Ubuntu Installation :: Strategy For Fixing 10.10 Upgrade That Went Bad

Jun 22, 2011

Was running 10.10 64-bit on Thinkpad X201. I mistakenly clicked on upgrade this morning (really meant to just do a plain old update)... I tried to stop the process, but nothing that I did could get me out of the upgrade loop... so I eventually was forced to go ahead. Machine boots into 11.04; however, keyboard and mouse doesn't work. I have an external keyboard/mouse combo and that will intermittently work, but questionable. I was able to turnoff Unity; however, Classic doesn't seem to work with either external keyboard or laptop builtin.

My root and home are on separate partitions. I have a very fresh copy of home backed up on a separate drive. I don't have a recent backup of root. If I could get Natty working with Classic (including minimize/maximize) I'd be OK...I'd be also OK with going back to 10.10 if I could do it without too much pain. Meanwhile, I'm using another machine with Windows 7 so that I can at least do some work and come back to resurrecting my machine after I've had a bit of a timeout..

View 2 Replies View Related

Hardware :: Potential Partition Strategy - SSD Drive

Oct 16, 2010

[URL]. I am installing the above later this week with the intent of it being my OS drive.

Potential Partition Scheme ->
Boot 100 M
Swap 8 Gig
/ -> Balance
/home --> Separate Drive

Does this make sense for a SSD drive. Not sure if I should place the swap on the SSD drive or if there are any issues around any paticular partition set up. I am looking at installing either -> LM 9 / Ultimate Edition 2.8 / Debian / Ubuntu 10.1.

View 10 Replies View Related

OpenSUSE Install :: Desktop Setup Strategy / What Works Best?

Sep 8, 2010

Having just executed a 11.2 to 11.3 upgrade (KDE), in which I preserved /home from 11.2 to preserve my data and settings, I now wonder if there is a "Best Practice" on how to setup the environment, anticipating future upgrades.Currently, for applications I frequently use and wish to launch from the desktop, I open /usr/share/applications (using Dolphin) and drag the application to my Desktop Folder, choosing the "Copy To:" option.After the recent update, my Desktop Folder files remain those from 11.2 or earlier.It seems now a better practice would be to populate the Desktop Folder with links back to /usr/share/ applications, so that changes would be implemented the the link to a newer file. That would be easily implemented by choosing the "Link To:" option when dragging.

View 1 Replies View Related

Debian :: Possible Bug In Comment

Dec 17, 2010

Just upgraded from Lenny to squeeze, and noticed that the comment in /etc/fstab, and it says that I should use vol_id to find my UUID, but shouldn't it be blkid? My system can't find vol_id?

View 6 Replies View Related

Hardware :: Comment On WD HDD

Aug 18, 2010

Has any folk used following WD HD before?

WD Caviar Green
SATA Hard Drives
1 TB, SATA 3 Gb/s, 64 MB Cache WD Caviar Green 1 TB SATA Hard Drives ( WD10EARS )What will be your comment. I never used WD HD before only Seagate HD. I like this WD HD because it has 64MB cache. Its price is more or less the same as Seagate and other brand HDs of same storage capacity.

View 6 Replies View Related

OpenSUSE Install :: Comment On Bad Translations

Nov 3, 2010

I've been using openSUSE for some time now 10.x to 11.3, there is always badly translated things. In this case the timezone shows "Ciudad de Mexico" as "Ciduad de Mjico"Just for the comment, other users could find more stuff in the subject

View 5 Replies View Related

Red Hat / Fedora :: Add A Comment To Specific Line With Sed?

Jul 15, 2010

how can i add a comment to specific line with sed?

View 2 Replies View Related

Programming :: Is There Pseudocode Comment Convention?

Nov 18, 2010

While writing pseudocode is there a convention for writing comments within the pseudocode?

View 4 Replies View Related

Fedora :: Is It Safe To Comment Out Old Entries In GRUB?

Aug 8, 2011

I recently installed F15 on my laptop. Earlier today I updated a little bit more than 500 different things, and then rebooted. Upon seeing the GRUB menu, I saw that one of the updates added a newer menu entry for Fedora- the newer one's version was a fraction higher than the older menu entry.Anyways, is it safe for me to comment out the old entry in /boot/grub/menu.lst?

View 6 Replies View Related

Ubuntu :: PDF Annotator - Can't Comment And Mail To Co Worker

Sep 15, 2010

Have spend I while searching the net for at PDF annotator for Linux, but can't seem to find any. Most of the forum and blog post I found on the subject suggested different programs, Common for these though, is that they don't do annotations in the pdf, but rather import the pdf as a background for writing on top and then saving your notes separately. This have to problems:

1. You can't comment a pdf and mail it to your co worker.
2. You can't switch between programs freely...

As far as I know the pdf format has capabilities for annotations/comments. So anybody know how to take advantage of this, for note taking? My use for this would mostly be notes on slides during lectures etc.

View 7 Replies View Related

Ubuntu :: Comment The Bold Line (env Command)?

Sep 13, 2010

I have this line in my in a .sh file:

Code:
#!/bin/bash
...

[code]....

View 12 Replies View Related

Debian :: Dist-Upgrades Halt With Comment Can't Respond To?

Jan 28, 2010

This n00b is having a weird situation during dist-upgrades that I've never seen before. It's puzzling my more-experienced pals in an irc channel, too.

Sometimes--not every time--while running a dist-upgrade outside of X on my Debian Testing machines, I get an informational text display (a comment box?) that always ends with the text "(END)". The display freezes there, and I am given no opportunity to respond and let the upgrade procedure continue.[URL]..

I've tried pressing escape, the space bar, enter, arrow-keys... nothing changes (I get system beeps with each keystroke). If I Cmd+C, I get a root prompt back, but any characters I type are not displayed as I type them. For example, I can type # "shutdown -r now", and the machine will shutdown --but the characters are not displayed as I type them.

If I immediately restart, go into a regular X session, and run synaptic, I get the same comment--but in a window with a "Close" button that I can click. The upgrade will then continue [URL].. This has happened on at least 3 different boxes, all running debian testing. Under gnome and xfce... Probably with 4 different packages in the last 3 weeks?

This morning it happened on a new debian testing install, and just now it happened -- with the identical package -- on an older debian testing install on a different box.[URl]..

View 3 Replies View Related

Ubuntu :: Photo Slideshow Application With Comment Ability

Aug 30, 2010

Well I use Shotwell Photo manager for all my photos and I love the app but I can't comment on the photo for a slideshow. So I want to put around 300 or so photos in a slideshow and put comments on them but I dont want to import each photo individualo to OO presenter.

View 1 Replies View Related

Programming :: Search For A Word In A File And Then Comment It Or Delete It?

Aug 9, 2009

I want to know that how can i search for a word in a file and then comment it or delete it. I know this command works.

sed 's/word/#word/'g inputfile > outputfile

But the lines in my input file are as under:

zone "abc.com" { ---- This line can be comment
type master; ----- This line repeat again and again in the file
file "abc.txt";
allow-query { any; }; -This line repeat again and again in the file
};

I want to know how can i comment a certain zone.

View 8 Replies View Related

SUSE / Novell :: Use The Usermod Command To Add A Comment To /etc/passwd?

Oct 3, 2010

I need to add a comment to /etc/passwd using usermod, but everytime I do it tells me that I can't modify a user in the LDAP database without DN. What is DN?

View 7 Replies View Related

General :: Encountering Errors With Partitioning?

Oct 31, 2010

I am encountering this error and do not know how to go round it. Please help on this issue.

Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sda, start=0, size=40007368704, type=0x0c
Entering MS-DOS parser (offset=0, size=80026361856)

[code]....

View 1 Replies View Related

General :: Partitioning For Xp Dualboot With OpenSuse?

Mar 10, 2011

I want to dualboot my Lenovo Z61m laptop running XP Home Edition with OpenSuse 11.3. The Hardrive is 200Gb before formatting, and 186.31GB when formatted.I have already partitioned the drive so that my XP is 100GB. There is a 4.8GB recovery partition preinstalled, which I want to keep. I plan to use the last 81.4GB for OpenSuse. Can someone tell me how to set up the rest of the partitions using a Gparted livecd? OpenSuse ising to shrink my XP partition even further to make all the partitions, even though there is already

View 10 Replies View Related

General :: LVM Groups And Partitioning Container

May 16, 2010

I am trying to install my debian again. In this time I want to encrypt it using LVM and later LUks. How I do that? I am in installation process. And I want to create a Group LVM and later partition the container.

View 12 Replies View Related

General :: Partitioning - Primary And Extended ?

Oct 14, 2010

I am installing opensuse on my laptop. Dual boot with Windows 7. Two partitions are already taken by windows. I am confused about extended partitions. I know I will need one because I can only have 4 primary partitions.

Here are the partitions I want:

Is there a certain order to create these? Does it matter which ones are primary partitions and which one are part of extended partitions?

View 4 Replies View Related

Programming :: Insert A Comment In Html File Based On Its Contents?

Jun 10, 2010

I have multiple HTML files in a folder. there is a <h2> tag like this:

Code:

<h2>some text</h2>

in each file. I want to write a shell script/batch file to add this tag in <head> section of each file:

Code:

<!-- TITLE= "same text from h2 tag" -->

Note that <h2>some text</h2> in some files has 1 or more linebreaks and so I couldn't capture tag content using a simple grep or...
for example:

<h2>first part of text
second line of text</h2>

The line break shouldn't be shown in <!-- TITLE= "same text from h2 tag" -->. The script has to capture tag content & skip line breaks.

View 3 Replies View Related

CentOS 5 :: Change Or Add Text To The Login Page In Comment Line

Feb 16, 2010

I have installed the astercc box it is running by centos 5.2 and i want to add some text to the " login page " i dont know how its called but when i start the pc when everything is been loaded it ask for the user and password And in top of it i want add tekst there,

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved