LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-20-2006, 09:12 AM   #1
loser112
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Post messed up


Hey!

here is my problem

i was installing knoppix-std on my laptop from the live CD.
when i type the command #mkfs.ext2 /dev/hda1
all seemed fine. But when the command was done my laptop reboted (low power)
And when my computer started agine it said "OS is missing"
becuse i was running win_xp before my question is can i get it back with all the prior data
 
Old 01-20-2006, 09:22 AM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
well if windows was on /dev/hda1 and you formatted it (cleared off the file syetem) and then put another on top, that's nasty. Your only chance might be to loo kto some commercial data restoration services.

If you just cockd up the MBR and windows partition is still there, boot back into your Knoppix live cd and browse the mount points for it. if it's there.

put in the windows cd boot to rescue console and do fixmbr

this should fix (give windows back it's domination it craves) and let you boot to it
 
Old 01-20-2006, 09:32 AM   #3
loser112
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ethics
well if windows was on /dev/hda1 and you formatted it (cleared off the file syetem) and then put another on top, that's nasty. Your only chance might be to loo kto some commercial data restoration services.

If you just cockd up the MBR and windows partition is still there, boot back into your Knoppix live cd and browse the mount points for it. if it's there.

put in the windows cd boot to rescue console and do fixmbr

this should fix (give windows back it's domination it craves) and let you boot to it
yeah i think its the nasty one.

becuse i a newbie on linux and my english is limited.. can you explian the secound option? step by step?
 
Old 01-20-2006, 09:47 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
step 1:

Boot into the knoppix live cd as before

step 2:

use the file manager to go to /mnt directory or whatever knoppix sets the mount points to/ use the command line to go there with

cd /mnt (or alternative)

Browse the files there and see what you can find, (ls if using the command line) see if your windows data is there. if not open a console and type

su
<root password

fdisk -l

this will show you the partitions on your HDD, see if any have ntfs or fat32 as the filesytem

step 4:

If you have no windows partitions there, then it looks bad, if you do (fingers crossed) then you just messed up the boot record on the machine, and it doesn't know where to go to boot the operating system.

step 5:

Ok so you have found that the data is still there (hooray) now you need to fix the mbr (master boot record). This can be done easily by inserting a fully fledged windows cd and following the comands to the rescue console, once there run the command fixmbr and you should see text indicating it's working.

step 6:

once done reboot the machine and it should be ok

I have tried to do that as simple and clear as possible, if you have further problems we can work through them

Does knoppix not use a graphical partitioner?? what version are you using?

ext2 is being replaced by ext3 now (journaling features)

Once you get it fixed and are ready to try again (dont be disheartened, happens to us all) use the knoppix cd to add a SEPERATE partition (maybe you did this in knoppix install), for playing around with linux, look into fdisk to achieve the partitioning.
 
Old 01-20-2006, 03:01 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Where is OP?

We do not know if the setup is dual-boot---nor do we know where in the install the formatting was done.

Details--we need DETAILS
 
Old 01-20-2006, 03:02 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
duplicate post---bad dog....
I hear the cops coming now...
 
  


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
messed up loser112 Linux - Software 6 01-22-2006 09:37 AM
messed up X crispy_420 Linux - Newbie 1 09-09-2005 01:23 AM
Now i messed up :( zoharPL Linux - Hardware 2 07-07-2005 09:47 AM
Messed Up Already !!! tamtam Linux - Newbie 7 05-07-2004 04:29 AM
really messed up X JunLitsu Linux - Software 0 05-06-2003 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 PM.

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