<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Constantinos Maltezos kirjutas,<BR>
 <BR>
That seems alot of mucking around just to fix a problem with my brother printer, as Japan<BR>
solution center mainly operate on windows, I dont think theyt understand about re-install,<BR>
so there must be a better way????????? to fix the printer to work???????<BR>
 <BR>
 <BR>
ray<BR><BR>> Date: Tue, 6 Jan 2009 09:37:51 +0200<BR>> From: ed.lau@mail.ee<BR>> To: kubuntu-users@lists.ubuntu.com<BR>> Subject: Re: <BR>> <BR>> Constantinos Maltezos kirjutas:<BR>> > On Monday 05 January 2009 11:08:48 pm Ray Burke wrote:<BR>> >> Have been advised by the japan solution center that I must re-install<BR>> >> Kubuntu to overcome problem, but dont want to loose any data, and we have<BR>> >> gone thru all that is shown in this link many times before?????<BR>> > <BR>> > What in the world reinstalling your operating system will do to make your <BR>> > printer work is beyond me - this isn't Windows. If you do it, don't be <BR>> > surprised if you feel you've wasted your time. I could be wrong, of course.<BR>> > <BR>> > Here's the problem, if there is a real thing that reinstalling Kubuntu would <BR>> > do for you, it most likely needs a full, fresh install. This means that if <BR>> > you want to keep your data, you'll have to back it up. This might be as easy <BR>> > as getting a small thumb drive and copying your documents directory to it (if <BR>> > you have no large collection of videos or music files) and might go as far as <BR>> > to require creating a backup partition (if you have disk space) to move your <BR>> > stuff to while you reinstall.<BR>> <BR>> If you don't have enough wide e-mail reading window or program - copy the following text into some <BR>> text editor, e.g. Kate or gEdit (whatever you use) and the you'll see following tables correctly.<BR>> <BR>> I suggest to create following partitions:<BR>> <BR>> mount point filesystem device<BR>> *********** ********** ******<BR>> 1) swap swap /dev/sda1 - primary<BR>> 2) /boot ext3 /dev/sda2 - primary<BR>> 3) /tmp ext3 /dev/sda3 - primary<BR>> /dev/sda4 - extended partition<BR>> 4) /var ext3 /dev/sda5 - logical<BR>> 5) / ext3 /dev/sda6 - logical<BR>> 6) /home ext3 /dev/sda7 - logical<BR>> 7) /data ext3 /dev/sda8 - logical<BR>> <BR>> Swap and /boot should be in the beginning of HDD to boot and swap fast. Also /tmp and /var have <BR>> fastly changing data and are therefore before other partitions.<BR>> <BR>> If you have also dual boot with Windows, then:<BR>> <BR>> mount point in Windows filesystem device<BR>> *********** ********** ********** ******<BR>> 1) /mnt/ntfs-system C: NTFS /dev/sda1 - Windows system<BR>> 2) /mnt/ntfs-data D: NTFS /dev/sda2 - data<BR>> 3) /mnt/ntfs-swap E: NTFS /dev/sda3 - Windows swap (pagefile.sys)<BR>> /dev/sda4 - extended partition<BR>> 4) swap swap /dev/sda5 - logical<BR>> 5) /boot ext3 /dev/sda6 - logical<BR>> 6) /tmp ext3 /dev/sda7 - logical<BR>> 7) /var ext3 /dev/sda8 - logical<BR>> 8) / ext3 /dev/sda9 - logical<BR>> 9) /home ext3 /dev/sda10 - logical<BR>> 10) /data ext3 /dev/sda11 - logical<BR>> <BR>> If you created the user in Linux, e.g. named it "john", then also group will be the same as <BR>> username. Then write:<BR>> sudo chown -R john:john /data<BR>> ... and press enter<BR>> <BR>> After entering the user john's password, the folder belongs to user john.<BR>> <BR>> Then create symlink:<BR>> ln -s /data /home/john/data<BR>> <BR>> Then you see the folder "data" in user home directory, which is actually symlink. Save all your <BR>> important data there.<BR>> <BR>> Another option is to create e.g. the folder /data/homes and user folder inside it:<BR>> sudo mkdir /data/homes /data/homes/john<BR>> sudo chown -R john:john /data<BR>> <BR>> Then move all your data folders into it and create symlinks to user's home:<BR>> mv /home/john/Desktop /data/homes/john/Desktop && ln -s /data/homes/john/Desktop /home/john/Desktop<BR>> mv /home/john/Public /data/homes/john/Public && ln -s /data/homes/john/Public /home/john/Public<BR>> mv /home/john/Documents /data/homes/john/Documents && ln -s /data/homes/john/Documents <BR>> /home/john/Documents<BR>> mv /home/john/Music /data/homes/john/Music && ln -s /data/homes/john/Music /home/john/Music<BR>> mv /home/john/Pictures /data/homes/john/Pictures && ln -s /data/homes/john/Pictures /home/john/Pictures<BR>> mv /home/john/Videos /data/homes/john/Videos && ln -s /data/homes/john/Videos /home/john/Videos<BR>> <BR>> If you have any other folders, what data you would like to keep - move and create symlinks to them.<BR>> <BR>> swap could be usualy 2xRAM but if you already have e.g. 2GB RAM, then there is not necessary to <BR>> create 4GB swap partition - it's enough if there is 1GB. Normally swap is not used and if it's <BR>> heavily used then there is better to add RAM instead of increasing swap partition. RAM is ~20 times <BR>> faster than HDD and your computer isn't slow if you have enough RAM.<BR>> <BR>> /boot could be have 100MB but now are big HDD-s and I give 1GB for /boot to be sure there are enough <BR>> room for kernel upgrades.<BR>> <BR>> /tmp is for temporary files and could be also 1GB if there is not very big HDD but if possible, I <BR>> give 3GB or even 5GB<BR>> <BR>> /var should be 3GB...5GB but if you use also e.g. web server etc. what keep their data in /var - you <BR>> could create it larger, e.g. 10GB...15GB. But also you can link e.g. /var/www to /data/www and then <BR>> you don't need to have too large /var. You can also use Apache aliases to mount any folder into <BR>> Apache tree - http://www.google.com/search?q=apache+alias - look the right manual according your <BR>> Apache's version.<BR>> <BR>> / is the root and there goes system - there should be at least 5GB, I give 10..15GB usually - <BR>> depends, how big the whole HDD is. If there is 500GB HDD, the / could be also 20...30GB. Then you <BR>> can install software and don't need to worry - does there enough space. I also try to promote Linux <BR>> as playing environment and games taking usually some gigabytes. Also CAD/CAM, graphics software etc.<BR>> <BR>> /home should be at least 5GB but I give usually 10GB if possible<BR>> <BR>> /data should have the rest of HDD's space and therefore the biggest partition. I mean, if you have <BR>> e.g. 500GB HDD, then it could be more than 400GB large. Certainly, if you have another operating <BR>> system laying on HDD e.g. Windows, then this space could be also smaller but anyway - you have to <BR>> decide, how much you use each operating system and what purposes and then decide, where to leave <BR>> more space.<BR>> <BR>> I e.g. use a lot of virtual machines for testing, teaching, developing, publishing, tech support etc <BR>> purposes, therefore I need at least 2GB, better 4GB RAM and at least 320GB, better 500G HDD. If you <BR>> have also e.g. TV-card and you'll save TV-shows onto HDD - then that /data partition have to be <BR>> enough large to handle all that data.<BR>> <BR>> <BR>> <BR>> Then if you save anything into those symlinked folders - they are going straight to that /data <BR>> partition and you don't need to worry about reinstalling whole operating system cleanly or <BR>> overinstalling. If you have any other configuration file or folder - just create the folder <BR>> /data/backup and create symlink to your home directory or where you want if you want.<BR>> <BR>> Certainly - if you are the only one user in that PC - you can just move those folders directly to <BR>> the /data, I mean e.g. /data/Documents etc. If you need later to create additional user(s), then you <BR>> can just leave them to the /home partition of if they have any backupable data, then just create <BR>> e.g. /data/backup/mary and create symlink to Mary's home folder:<BR>> sudo ln -s /data/backup/mary /home/mary/backup and say, that everything what is important to save <BR>> there. Or just create /data/backup/mary/documents, delete the old one if it's empty (I assume you <BR>> just created the user mary and this folder should be empty) sudo rm -fr /home/mary/Documents) and <BR>> symlink:<BR>> sudo ln -s /data/backup/mary/documents /home/mary/Documents<BR>> <BR>> As you see - there can be many policies, how to organize your and other users data folders to keep <BR>> them backuped onto another partition - each person has to choose what is best for hime/her.<BR>> <BR>> Then if you do fresh or reinstall - just don't touch that /data partition and certainly you have to <BR>> remember, what device it was and also exact size of partition if device names will somehow change to <BR>> identify later that data partition in somewhere installation process if needed.<BR>> <BR>> Certainly, you have to define right mount points during install but not to format them! Just like <BR>> the NTFS partitions of Windows (if you have) - just mount points but not to format.<BR>> <BR>> Then after install just change the owner (sudo chown <user>:<group> /data) and create appopriate <BR>> symlinks and that's it!<BR>> <BR>> Why not whole /home? Because usually if to do clean install, the /home contains also old <BR>> configuration files and it's not comfortable to create after install new user or delete old user's <BR>> conf etc. Much more faster is to keep data on another partition, which has enough space and write <BR>> data to there, e.g. using symlinks to make your life more comfortable under Linux.<BR>> <BR>> I hope, that it was clear and helps you keep further actions and work smoother and more flexible.<BR>> <BR>> Best Regards,<BR>> Edmund Laugasson<BR>> <BR>> -- <BR>> kubuntu-users mailing list<BR>> kubuntu-users@lists.ubuntu.com<BR>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users<BR><BR><br /><hr />Sell your car for just $40 at CarPoint.com.au <a href='http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT' target='_new'>It's simple! </a></body>
</html>