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 01-24-2006, 05:06 PM   #1
TerabyteUK
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
I Messed Up!


Hey,
I used partition magic to add a ext3 and a linuxswap partition to my drive... That worked fine..

Unfortunatly i've now deleted those partitions...

And grub is still looking for linux.. so now I can't tell it to boot up windows.


I'm getting on boot.

Grub could not mount
Error 17

I have a knoppix live cd here... if anyone could show em how to get my laptop back to windows that would be great.

Thanks
 
Old 01-24-2006, 05:14 PM   #2
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
Not sure if this will help but go ahead and give it a try.

boot from your knoppix cd
start a (root) shell which is found in your start menu.
start cfdisk.(make sure your hard drive is mounted.
make sure your partitions are indeed deleted, not just screwed up.
If you need to, delete the partitions and write.

You can also try booting from a windows cd and using fdisk to re-write the partitions as FAT.

I've never been in this situation so I don't know what else you can do except install knoppix to the empty partition and try deleting it again, but I hope this will help.
 
Old 01-24-2006, 05:20 PM   #3
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
If you are unsure what to do, just give us an output of cfdisk, and we will guide you. Go on, it can't be much worse!
 
Old 01-24-2006, 05:23 PM   #4
TerabyteUK
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
ok the output:



hda1 boot primary NTFS [] 20000mb
pri/log Free Space 19000mb

That's all that's there at the moment
 
Old 01-24-2006, 05:26 PM   #5
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by TerabyteUK
ok the output:



hda1 boot primary NTFS [] 20000mb
pri/log Free Space 19000mb

That's all that's there at the moment
Grub is installed in the MBR and... wait, when I deleted my partitions, it gave an error! No idea here... for now, put in your Windoes cd and do an fdisk /mbr. Will help.
 
Old 01-24-2006, 05:26 PM   #6
TerabyteUK
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
after deleting them properly as you said...

i'm now getting

GRUB loading, please wait
Error 22

when i boot...
 
Old 01-24-2006, 05:27 PM   #7
TerabyteUK
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
lol bit behind posting here sorry thanks i'll try what you said with the windows cd
 
Old 01-24-2006, 05:29 PM   #8
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by TerabyteUK
lol bit behind posting here sorry thanks i'll try what you said with the windows cd
Ok, we will wait. If smoething happens, tho you can always install a small linux there, boot into windoes and then fdisk /mbr.
 
Old 01-24-2006, 05:39 PM   #9
TerabyteUK
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
There is no fdisk...


(how philosophical)
 
Old 01-24-2006, 05:44 PM   #10
jameson
Member
 
Registered: Oct 2005
Location: in my room
Distribution: slackware
Posts: 51

Rep: Reputation: 15
download a boot disk (i use a windows me one) from the internet

http://www.bootdisk.com/

then type at the dos prompt fdisk /MBR
 
Old 01-24-2006, 05:46 PM   #11
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by TerabyteUK
There is no fdisk...


(how philosophical)
Damn! Windows XP, I presume? ARGH! Ok, we do it the long way, then. Install whatever distro you had. Get grub to boot. Boot into Windows, do an fdisk /mbr. Delete Linux. Too bad...

Edit: YAY! The bootdisk might be an answer! Try it!

Last edited by BinJajer; 01-24-2006 at 05:48 PM.
 
Old 01-24-2006, 05:50 PM   #12
TerabyteUK
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
i'm on xp... should i choose the ME one? i don't see XP on there...
 
Old 01-24-2006, 05:55 PM   #13
TerabyteUK
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
oh
let me complicate things..


There is no floppy drive.

:'(
 
Old 01-24-2006, 06:05 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
Try this CD:

http://www.ultimatebootcd.com/
 
Old 01-24-2006, 11:04 PM   #15
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
orr....
with the windows cd, you can boot into the recovery console and type the command fixmbr at the prompt, and that will install window's bootloader back into the mbr.

you can then play with your partitions again with partition magic, or other partitioning tool..
 
  


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
messed up loser112 Linux - Software 6 01-22-2006 10:37 AM
messed up X crispy_420 Linux - Newbie 1 09-09-2005 02:23 AM
Now i messed up :( zoharPL Linux - Hardware 2 07-07-2005 10:47 AM
really messed up X JunLitsu Linux - Software 0 05-06-2003 02:31 AM
I messed up Please help mcgram5 General 4 03-18-2003 11:47 PM


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