*newbie* How install HOME files onto separate partition?
I need to install my SuSE Pro 9.2 HOME files on a separate partition so I can install a clean from the box Pro 9.3 without affecting my data files. I messed up again and re-installed 9.2, but somehow it got installed (I think) on /dev/hdb6. The old 9.2 install was on /dev/hda3 but I *think* I lost my data files. 1. How can I look in /dev/hda3 to see if my documents and saved mail is there? 2. If it IS there, how should I backup that data and then reinstall on a separate HOME partition, that would be accessable to both 9.2 and 9.3? When I re-install 9.2 I think I better reformat /dev/hda except for XP which is on /dev/hda1. Agree? 3. If it is NOT there. how should I make the re-install of 9.2 put the HOME files into a separate partition? My utterly messed up drives follow. I have absolutely no idea how /dev/hdb got the way it is. Don't understand the reference to Solaris either. andy@linux:~> su Password: linux:/home/andy # fdisk -l Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 2621 21053151 7 HPFS/NTFS /dev/hda2 2622 2882 2096482+ 82 Linux swap / Solaris /dev/hda3 2883 5493 20972857+ 83 Linux /dev/hda4 5494 9729 34025670 f W95 Ext'd (LBA) /dev/hda5 5494 6798 10482381 83 Linux /dev/hda6 6799 9729 23543226 83 Linux Disk /dev/hdb: 80.0 GB, 80000040960 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 3917 31458068 7 HPFS/NTFS /dev/hdb2 3918 7180 26210047+ 83 Linux /dev/hdb3 7181 9726 20450745 f W95 Ext'd (LBA) /dev/hdb5 7181 7308 1028128+ 82 Linux swap / Solaris /dev/hdb6 7309 9726 19422553+ 83 Linux linux:/home/andy # Thank you for any help you may give me. Sorry, but I really need detailed instructions. I'm a one month newbie. Andy
On Tue, 2005-04-05 at 16:15, Andy Yankovich wrote:
I need to install my SuSE Pro 9.2 HOME files on a separate partition so I can install a clean from the box Pro 9.3 without affecting my data files.
I messed up again and re-installed 9.2, but somehow it got installed (I think) on /dev/hdb6. The old 9.2 install was on /dev/hda3 but I *think* I lost my data files. As long as you have not format the partations then your data files should be there.
1. How can I look in /dev/hda3 to see if my documents and saved mail is there?
2. If it IS there, how should I backup that data and then reinstall on a separate HOME partition, that would be accessable to both 9.2 and 9.3? When I re-install 9.2 I think I better reformat /dev/hda except for XP which is on /dev/hda1. Agree? How did you have it partioned the last time. What I mean what device was nounted on hda3, hda5 & hda6?
3. If it is NOT there. how should I make the re-install of 9.2 put the HOME files into a separate partition?
My utterly messed up drives follow. I have absolutely no idea how /dev/hdb got the way it is. Don't understand the reference to Solaris either.
<snip>
To help further please show what is in /etc/fstab.
Sorry, but I really need detailed instructions. I'm a one month newbie.
Andy
On Tuesday 05 April 2005 13:11, Ian David Laws wrote:
On Tue, 2005-04-05 at 16:15, Andy Yankovich wrote: snip
1. How can I look in /dev/hda3 to see if my documents and saved mail is there?
2. If it IS there, how should I backup that data and then reinstall on a separate HOME partition, that would be accessable to both 9.2 and 9.3? When I re-install 9.2 I think I better reformat /dev/hda except for XP which is on /dev/hda1. Agree?
How did you have it partioned the last time. What I mean what device was nounted on hda3, hda5 & hda6?
hda2 was swap for 9.2 hda3 had all the rest of Pro 9.2
3. If it is NOT there. how should I make the re-install of 9.2 put the HOME files into a separate partition?
My utterly messed up drives follow. I have absolutely no idea how /dev/hdb got the way it is. Don't understand the reference to Solaris either.
<snip>
To help further please show what is in /etc/fstab.
Sorry, but I really need detailed instructions.
/dev/hdb6 / reiserfs acl,user_xattr 1 1 /dev/hda3 /data1 auto noauto,user 0 0 /dev/hda5 /data2 auto noauto,user 0 0 /dev/hda6 /data3 auto noauto,user 0 0 /dev/hdb2 /data4 auto noauto,user 0 0 /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/hdb1 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/hda2 swap swap pri=42 0 0 /dev/hdb5 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 /dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 Thank you very much for replying and helping Andy
On Tuesday 05 April 2005 13:11, Ian David Laws wrote:
On Tue, 2005-04-05 at 16:15, Andy Yankovich wrote: snip
1. How can I look in /dev/hda3 to see if my documents and saved mail is there? mount /dev/hda3 /data1 (This you will probably need to do as root) Once it is mounted you can then move into this directory and see all
On Tue, 2005-04-05 at 19:54, Andy Yankovich wrote: the files from the first installation. your home directory should be something like /data1/home/user. I can see that the disks have not been formatted, but you have used hda5, hda6 & hdb2 in the first installation. You do not require so much swap space. How much physical RAM have you got
2. If it IS there, how should I backup that data and then reinstall on a separate HOME partition, that would be accessable to both 9.2 and 9.3? When I re-install 9.2 I think I better reformat /dev/hda except for XP which is on /dev/hda1. Agree?
This is another subject have you a cd-writer
<snip>
Regrads Ian
On Tuesday 05 April 2005 14:44, Ian David Laws wrote:
On Tue, 2005-04-05 at 19:54, Andy Yankovich wrote:
On Tuesday 05 April 2005 13:11, Ian David Laws wrote:
On Tue, 2005-04-05 at 16:15, Andy Yankovich wrote:
snip
1. How can I look in /dev/hda3 to see if my documents and saved mail is there?
mount /dev/hda3 /data1 (This you will probably need to do as root) Once it is mounted you can then move into this directory and see all the files from the first installation.
Does this mean there is *nothing* in /dev/hda3 or 5? or does it mean I must enter another command os some kind to see what is in there? andy@linux:~> su Password: linux:/home/andy # mount /dev/hda3 /data1 linux:/home/andy # andy@linux:~> su Password: linux:/home/andy # mount /dev/hda5 /data1 linux:/home/andy #
I can see that the disks have not been formatted, but you have used hda5, hda6 & hdb2 in the first installation.
Possible, but I thought it was /dve/hda3. But it's possible.
You do not require so much swap space. How much physical RAM have you got 512MB
2. If it IS there, how should I backup that data and then reinstall on a separate HOME partition, that would be accessable to both 9.2 and 9.3? When I re-install 9.2 I think I better reformat /dev/hda except for XP which is on /dev/hda1. Agree?
This is another subject have you a cd-writer Yes I do.
Thanks, Ian Andy
On Tue, 2005-04-05 at 21:34, Andy Yankovich wrote:
On Tuesday 05 April 2005 14:44, Ian David Laws wrote:
On Tue, 2005-04-05 at 19:54, Andy Yankovich wrote:
On Tuesday 05 April 2005 13:11, Ian David Laws wrote:
On Tue, 2005-04-05 at 16:15, Andy Yankovich wrote:
snip
1. How can I look in /dev/hda3 to see if my documents and saved mail is there?
mount /dev/hda3 /data1 (This you will probably need to do as root) Once it is mounted you can then move into this directory and see all the files from the first installation.
Does this mean there is *nothing* in /dev/hda3 or 5? or does it mean I must enter another command os some kind to see what is in there?
andy@linux:~> su Password: linux:/home/andy # mount /dev/hda3 /data1 linux:/home/andy #
Open konqueuer if you are using KDE and take a look at this directory /data1
andy@linux:~> su Password: linux:/home/andy # mount /dev/hda5 /data1 linux:/home/andy # You cannot use this in /etc/fstab /dev/hda5 was /data2
I can see that the disks have not been formatted, but you have used hda5, hda6 & hdb2 in the first installation.
Possible, but I thought it was /dve/hda3. But it's possible.
You do not require so much swap space. How much physical RAM have you got 512MB Then 512MB swap partation should be enough but check with kde info center KDE -> system -> Monitor -> info center click on memory that will show you how much is been swapped to disk.
2. If it IS there, how should I backup that data and then reinstall on a separate HOME partition, that would be accessable to both 9.2 and 9.3? When I re-install 9.2 I think I better reformat /dev/hda except for XP which is on /dev/hda1. Agree?
This is another subject have you a cd-writer Yes I do. good then you can burn your home directory when we find out where it is.
Regards Ian
Thanks, Ian Andy
On Tuesday 05 April 2005 16:33, Ian David Laws wrote:
On Tue, 2005-04-05 at 21:34, Andy Yankovich wrote:
On Tuesday 05 April 2005 14:44, Ian David Laws wrote:
On Tue, 2005-04-05 at 19:54, Andy Yankovich wrote:
On Tuesday 05 April 2005 13:11, Ian David Laws wrote:
On Tue, 2005-04-05 at 16:15, Andy Yankovich wrote:
Does this mean there is *nothing* in /dev/hda3 or 5? or does it mean I must enter another command os some kind to see what is in there?
Open konqueuer if you are using KDE and take a look at this directory /data1
Nothing. I typed in "/data1" and after enter it changed to "file:/data1" and nothing appeared. Does this mean it was deleted or reformatted? Can I be that stupid not to notice I did something like that? Don't answer that, please.
KDE -> system -> Monitor -> info center click on memory that will show you how much is been swapped to disk.
Total physical 503mb Free physical 22mb Shared 0 Disk buffers 53mb Disk cache 310mb total swap 2.98Gb free swap 2.98Gb Sorry I am so unlearned in Linux. I really appreciate your help. Andy
On Tuesday 05 April 2005 5:18 pm, Andy Yankovich wrote: <snip>
KDE -> system -> Monitor -> info center click on memory that will show you how much is been swapped to disk.
Total physical 503mb Free physical 22mb Shared 0 Disk buffers 53mb Disk cache 310mb total swap 2.98Gb free swap 2.98Gb
Sorry I am so unlearned in Linux. I really appreciate your help. Andy
there is one more way to look at all this stuff, w/o any danger of overwriting something. When you get everything installed finally,or if you have access to a different computer, go to taglinux.org OR search google for Knoppix , then download the latest version.. 3.7 IIRC, but I could be wrong about that. Anyway, download the .iso file, and them burn it to a cd... mark it rescue, and make sure you put it somewhere safe. That disk is bootable. and it's linux .. so you can look at all the drives, and if need be in a future install, you can back up anything you forgot to backup but which is still on the hard drive. ( It's also helpful if you have not backed up your data recently and suddenly hear strange noises coming from your box <G>) It uses a Kde desktop and good old k3b for burning.. You actually can rescue things from a nearly dead drive as well using that system.. Tho nothing really replaces regular backups . Knoppix is very good about recognizing all manner of hardware, so usually when you boot it , things just work. It's a handy to have in your toolkit. Especially as you are more likely to have a cd than a floppy disk drive these days.. -- j Just as all the rules in the world cannot insure our survival, neither can they create the impossible. Instead of focusing on an equal place at the starting gate, our laws attempt to rig the finish by *mandating* an equal outcome. This is unachievable. Even more, it is a stultifying thought. C.Crier
On Tuesday 05 April 2005 20:05, jfweber@bellsouth.net wrote:
On Tuesday 05 April 2005 5:18 pm, Andy Yankovich wrote: <snip>
KDE -> system -> Monitor -> info center click on memory that will show you how much is been swapped to disk.
Total physical 503mb Free physical 22mb Shared 0 Disk buffers 53mb Disk cache 310mb total swap 2.98Gb free swap 2.98Gb
Sorry I am so unlearned in Linux. I really appreciate your help. Andy
snip
go to taglinux.org OR search google for Knoppix , then download the latest version.. 3.7 IIRC, but I could be wrong about that. Anyway, download the .iso file, and them burn it to a cd... mark it rescue, snip
Gil, thanks for jumping in. Thanks for your information. It will come in handy in the future. Davie, huh? I'm in Haines City, off US 27. I kept on searching and fooling around and realized that, in the shell, I just got into the partitions and needed to list the contents. Result is I FOUND MY HOME FILES scattered in three different partitions - due to the re-installs I made this past month while learning Linux. It is a bit more complex than WinXP. Now all I have to do is learn how to copy and burn a CD. If you or someone can get me started on learning how to copy and burn I think I can take it from there. Many thanks ol' friend, and don't get sun burned. Andy
On Tuesday 05 April 2005 9:02 pm, Andy Yankovich wrote:
On Tuesday 05 April 2005 20:05, jfweber@bellsouth.net wrote:
On Tuesday 05 April 2005 5:18 pm, Andy Yankovich wrote: <snip> go to taglinux.org OR search google for Knoppix , then download the latest version.. 3.7 IIRC, but I could be wrong about that. Anyway, download the .iso file, and them burn it to a cd... mark it rescue,
Now all I have to do is learn how to copy and burn a CD. If you or someone can get me started on learning how to copy and burn I think I can take it from there. Ahh, easy peasy.. once you know where things are, and can get to a gui, you just use k3b to drag n drop your files into the bottom of the k3b window.. when you have filled the disk, or have all the files you want.. you hit "burn" .. assuming you have installed things like cdrecord, cdrdao, and similar it will "just work" like Windows burning..
However, no gui means you need to have the correct programs installed to issue a command in your shell.. I think this part is where Anders should come in , or one of the other wizards <G> And as long as I'm on the subject... you should get a good book ... and you will get a good book w/ the boxed version ( full version not the upgrade, since the difference between the upgrade and the full version is largely the extra Administrator book. So it wouldn't hurt to buy one boxed set at least ever version number or so... <VBG>) Also, O'Reilly's *Linux Administrator* book, and/or one of the *Linux in a Nutshell* ( to get started w/ commands etc. as well as the how it works ) books. Suse's manuals can't be beat, and certainly not for the price! The Suse books are also installed w/ your other documentation .. so if you can read things, and find your way around a desktop, you can push the items that looks a bit like an old life preserver from the Titanic w/ Suse's Geeko's head thru it.. it will lead you thru some of the " handbooks" for various apps, and an easy way to set up a searchable database of all the help stuff you have installed.. Also, Be sure to look at Suse's Administration Guide , as well as the User Guide. The later will help you w/ things like buring a cd or dvd ( basically words the same way... <g>) And the configuration of various things and programs you will want to use whilst the former will give you detailed information on "how to do ... " that book is 702+ pages.. And goes over things you need to know from the jump, as well as more detailed information on things like Suse's boot "concept" ( all the files are editable by root.. BUT you need to know what you are doing, OR have a backup of the files you can replace from a commandline <G>) And don't worry too much about being a newbie, everyone was at one time or another.. have a lot of fun.. -- j Just as all the rules in the world cannot insure our survival, neither can they create the impossible. Instead of focussing on an equal place at the starting gate, our laws attempt to rig the finish by *mandating* an equal outcome. This is unachievable. Even more, it is a stultifying thought. C.Crier
participants (3)
-
Andy Yankovich
-
Ian David Laws
-
jfweber@bellsouth.net