LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-09-2005, 02:01 AM   #1
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
Installing debian over an existing install


Hello,

I have a debian Sarge install.
I have a reiserfs partition as my main
linux partition. I have some data in my home folder.
I would like to install debian again while keeping
the home folders (or importing their data) .
Is this possible?

Regards,
Deep
 
Old 04-09-2005, 02:23 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
There are several ways of approaching this depending on your harware. If you only have a single disk that has a single partition and you want to reinstall to that disk then you are going to archive the data on some other media first and then copy the data back when you have installed the new system. You are probably wise to always have /home on a separate partition for this reason. If you have a the same situation as above but a second hard drive then you could create a new partition on the second disk then copy the data to this partition and then when you have finished the new install edit your /etc/fstab so that it links this partition as your /home.
If you need more detailed info then we need to know the actual structure that you are using so that we can give you more detailed info.
 
Old 04-09-2005, 11:46 AM   #3
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
More details

Unfortunately theres only disk.
And home is in the same partition as the rest of the linux install.

In fact heres is my complete setup

/dev/hda1 windows xp extended partition
/dev/hda2 debian sarge reiserfs partition
/dev/hda3 linux swap
/dev/hda4 windows xp primary partition
 
Old 04-09-2005, 12:04 PM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
May I ask why you want to do a reinstall?
 
Old 04-09-2005, 04:27 PM   #5
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Two reasons for reinstall

I installed oracle 10 on the debian machine
and as it turned out , oracle 10 is very slow on
a reiserfs partition. So i tried to convert my partition
to convertfs ext3. The conversion didnt go well.

Debian in normal gnome doesnt start up. (This is possibly
because the oracle installation required me to modify quite a
few initialisation files, and i think something went wrong in the process)
Debian still runs in failsafe gnome. And the data is still there.
However apt-get doesnt work (because of missing partial directories),
and /bin isnt in the path (i dont know if it is supposed to be).

In short i seem to have a sub optimal debian box

And for most difficulties i dont know what is the reason because it could be

1) I edited the initialisation files, so things arent initialising right. ( Which is supported
by the fact that GNOME failsafe works (no initialisation scripts run) and normal Gnome doesnt.)

2) The convertfs screwed things around.

So

Thats the story.
 
Old 04-09-2005, 05:58 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Sounds like your best bet would be to just copy the files from your home directory to a CD and start from scratch.
 
Old 04-10-2005, 01:42 AM   #7
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks :)

Okay, will give it a try.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reach Comcast over existing ethernet network from new Debian box? andrewcottrell Linux - Networking 1 02-27-2006 09:29 AM
debian install with existing FC2 rblampain Debian 2 10-01-2005 10:08 AM
Installing Debian by net-install using Speedtouch alnokta Linux - Newbie 3 08-25-2005 12:29 AM
Installing with existing XP NTFS... ajtaus Linux - Software 5 12-15-2001 06:55 AM
Installing Win98 on slave drive to pre-existing linux install on primary eliszka Linux - Software 8 11-07-2001 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration