LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2006, 07:28 PM   #1
rotorruter
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 0
Debian Install


Just installed debian,stop!
Lost my other OS; WindowsXP,stop!
Need to retrieve important data,stop!
Is there any hope,stop!
By the way, I'm new to this open source stuff and I know I jumped in over my head but..... Hey! The Knoppix Live CD is saving my a$$
At least I can get on line!
I can't even get into debian to configure a web browser.
Can anyone give me some suggestions? Thanks.
 
Old 03-08-2006, 07:35 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
We probably need a little information.

Are you trying to dual boot XP and Debian? My understanding is that you decided to install Debian, but then realized you wanted to keep data off your XP drive?

Did you install Debian already? Did you remember to install Grub to the Master boot record? Did you overwrite your XP partition?

Knoppix may be of great help in saving your system, depending on what exactly you did.
 
Old 03-08-2006, 07:40 PM   #3
rotorruter
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I did overwrite my xp partition and did install grub.
I did want to duel boot ,at least for a while until I learned Debian(sarge)
I just rushed the install and oopps!
 
Old 03-08-2006, 07:53 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Well, if you overwrote your XP partition, your data is gone. Next time be sure to back up your data first! Sorry about that...

On to dual booting, your new mission, should you choose to accept it is to find your XP disks. Here is what you want to do:

1) use knoppix Live CD and qtparted (a nice graphical partitioning program) to create the following partitions:
Code:
/dev/hda1  NTFS for windows XP ~10GB
/dev/hda2 ext3 for /boot ~100MB
/dev/hda3 swap 2x your RAM (but don't go over 1GB, you won't need it)
/dev/hda4 ext3 for /home ~5GB
/dev/hda5 ext3 for main linux partition ~10GB
/dev/hda6 fat32 for sharing files between linux and windows (I'd use the rest of the disk depending on what you plan to share -- mp3's, etc)
2) Install XP to the NTFS partition
3) boot into XP and get it working the way you want
4) Install Debian, at boot: type linux26 to get a newer 2.6.8 kernel, DO NOT overwrite the NTFS partition, do manual partition and point /home to /dev/hda4, /boot to /dev/hda2, swap to /dev/hda3 and / to /dev/hda5
5) install Grub to the master boot record

I'll see if I can find a link to help you with the installation walk through...
 
Old 03-08-2006, 07:55 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
http://shots.osdir.com/slideshows/sl...se=395&slide=1
 
Old 03-08-2006, 08:09 PM   #6
rotorruter
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Hey thanks, but if the data is unretrievable I don't want windows!
I would like to know how to access debian and configure it.
When I boot it I'm promted to login. Ihad a little trouble with password/username when I installed it.
I think I want to go in as root and do this?
Maybe I should just reinstall and start over.
Can I just reinstall over whats there? and start over?
 
Old 03-08-2006, 08:12 PM   #7
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
You can. Or if you're interested in fixing it and just need to reset your password, you should be able to fix it from knoppix. First I need to see the output of fdisk -l

Basically, you want to figure out which partition your install is on (my guy feeling is /dev/hda1), then mount the drive, chroot into it, and reset the root password and user password.

Code:
mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1
chroot /mnt/hda1
passwd root (then type new password at the prompt)
passwd username (type new password at prompt)
exit
exit
Then reboot and you should be able to login again as your user or root.

Last edited by pljvaldez; 03-08-2006 at 08:15 PM.
 
Old 03-08-2006, 08:14 PM   #8
rotorruter
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
how do I do that?
 
Old 03-08-2006, 08:16 PM   #9
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Sorry, edited my post instead of doing a new one...
 
Old 03-08-2006, 08:17 PM   #10
rotorruter
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks. Ill try it!
Are you gonna be around for a while?
 
Old 03-08-2006, 08:17 PM   #11
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Probably about 45 minutes...
 
Old 03-08-2006, 08:22 PM   #12
rotorruter
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I'm a very newbe and what you just said eludes me.
Do I just put that code in at the prompt?
 
Old 03-08-2006, 08:25 PM   #13
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Yes.

Only I may have made a mistake and change this line:

Code:
mount /dev/hda1 /mnt/hda1
to
Code:
mount -o rw /dev/hda1 /mnt/hda1
to mount the drive read write
 
Old 03-08-2006, 08:26 PM   #14
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Oh, and be sure to change username to your actual username. If you can't remember what username you created, try typing ls /home
 
Old 03-08-2006, 08:31 PM   #15
rotorruter
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks a bunch.
See ya later!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
first ever install of Debian howarddevore Debian 31 10-21-2007 08:32 PM
NIC recognized in debian net install but not after install Cycle Debian 7 12-23-2005 08:52 PM
Debian won't install!!! Ab3n Linux - Newbie 2 01-14-2005 06:43 PM
RT Install on Debian DeathlessOne Linux - General 0 08-26-2004 10:16 AM
dhcp problem in Debian netinst install..Help !! install. copter Linux - Networking 11 06-30-2004 02:14 PM


All times are GMT -5. The time now is 01:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration