LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-07-2009, 06:16 PM   #1
GeneralMartok
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
Grub loader - I made a mess - Help! :)


I have recently bought an Acer One net pc. I installed Ubuntu as dual boot with Win XP Home. I couldnt get Ubuntu to work due to a problem with wireless drivers. I tried to read around but none of the solutions offered worked.
Well, anyway, i boot WinXP and delete the partition containing Ubuntu. Now my system will not boot at all! Grub loader of course gives an error at startup and i have no access to windows. I tried to use the usb drive where i have Ubuntu to re-install it and work it from there, but the partitioner will work anymore either.
Please help me!! Is there a way to make a recovery usb drive for windows? or any version of Linux bades systems that will work on my pc from this point??

Thanks!!!!!
 
Old 09-07-2009, 06:33 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Their are a couple of ways to fix this, If your intending to install a version of linux later on then I would place in a Linux Disc and do a simple install of Grub, as you deleted Ubuntu you deleted all of Grubs configuration files and thus what is causing the problem. Else wise, place the windows CD in the system and load up a recovery console, run fixmbr and that should resolve the issue.
 
Old 09-07-2009, 06:38 PM   #3
29t88
Member
 
Registered: Jan 2009
Distribution: CentOS 5.3
Posts: 62

Rep: Reputation: 17
*cough i did this once myself, GRUB Stores Itself on a hidden partition, So.... To Fix This Insert The WinXp Disc, Go Into (R) Recovery, And Then Restore I think its either mgr or bootmgr or mbr or somthing i forget ! Hope this helps. I had to get rid of vista for this once> The disks for vista were on a partition that i had to delete
 
Old 09-08-2009, 11:31 AM   #4
GeneralMartok
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for quick reply!
But the problem is that Acer One has no optical unit. Hence... no CD.
The motherboard supports booting from USB but i can't find any way to make WinXP bootable usb drive...
 
Old 09-08-2009, 11:42 AM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
The easiest will be to just go and get you a USB dvd drive and follow the directions above to get to a restore prompt and type in
fdisk /mbr

If you have a usb floppy around you could also go to bootdisk.com and download a win 98 boot disk.
 
Old 09-08-2009, 11:44 AM   #6
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Just an idea, you can create Live Linux USB by following tutorial from www.pendrivelinux.com
 
Old 09-08-2009, 01:10 PM   #7
GeneralMartok
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hurry_hui View Post
Just an idea, you can create Live Linux USB by following tutorial from www.pendrivelinux.com
Thanks, i am going to try this out now. I have tried to install Ubuntu 9.0 from pen drive, but the partitioner kept on giving me an error and would not proceed to install Ubuntu... Since it only says "resizing partition failed" i can't understand what went wrong... but i am trying to take 2 different versions of Linux from your link and see if i can do something about it. But if the partitioner fails again all i can hope for is a way to recover the original MBR and remove the grub loader. And i cant find any post about that anywhere...
 
Old 09-08-2009, 01:24 PM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by GeneralMartok View Post
Thanks, i am going to try this out now. I have tried to install Ubuntu 9.0 from pen drive, but the partitioner kept on giving me an error and would not proceed to install Ubuntu... Since it only says "resizing partition failed" i can't understand what went wrong... but i am trying to take 2 different versions of Linux from your link and see if i can do something about it. But if the partitioner fails again all i can hope for is a way to recover the original MBR and remove the grub loader. And i cant find any post about that anywhere...
The last couple of post have been how to add the original boot loader back to your system. But you said that you don't have an optical drive so you can't use the boot windows disk. That is why I said earlier that if you have a floppy drive then you can download load a boot disk and rebuild the windows mbr

the reason this happened is that grub needs to grab the boot information off the drive that your deleted.

The pendrive linux will work but you will have to create a parition to hold the boot information.
 
Old 09-08-2009, 03:28 PM   #9
GeneralMartok
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I have now made a USB drive bootable with Linux. No help ((
Im starting to get desperate now... :P
The system boots with no problems, but besides being unable to load the drivers for my wireless card, it will not install the system Just as before, i get an error message from the partitioner. I dont understand what the problem is. And i can not open the C:\ drive because WinXP is hibernated. However, following the instructions from pendrivelinux.com i noticed that mbrfix got installed on the USB key. is there a way to access that??? maybe that would solve all my problems...

I do not have any other USB device. only flash drive... if only i didnt trash my old usb HDD..... eeehhh

Last edited by GeneralMartok; 09-08-2009 at 03:32 PM.
 
Old 09-08-2009, 03:45 PM   #10
29t88
Member
 
Registered: Jan 2009
Distribution: CentOS 5.3
Posts: 62

Rep: Reputation: 17
If you have the win xp disks, put them in (This happened to me a while ago) Then go into the recovery and restore its either bootmbr or bootmgr i forget !
 
Old 09-08-2009, 05:47 PM   #11
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Can you get into grub prompt? [while it shows you a menu, press "c" to get the prompt]. If yes then from grub prompt type:


grub > rootnoverify ( press TAB to select root for winxp, it might be (hd0,0) then press ENTER

grub > chainloader +1 press ENTER

grub > boot press ENTER

this is to manually boot winxp
 
Old 09-09-2009, 02:35 PM   #12
GeneralMartok
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hurry_Hui,
I did not get the grub prompt. All i got was GRUB LOADING STAGE 1,5 ----- GRUB LOADING, PLEASE WAIT... ----- ERROR 22
and system freeze there. So i managed somehow to get a grub boot from usb drive and it gives me the chance to bring up the grub prompt.
I followed your instructions but after typing BOOT i get exactly the same result... Error 22 and system freeze...
 
Old 09-09-2009, 04:13 PM   #13
GeneralMartok
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hurray!
for further reference... WinToFlash 0.4.0017 beta has solved all my troubles!
 
  


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
kernels, kmod-nvidia, I've made a real mess, here Posterboy Fedora 2 02-28-2007 07:44 PM
O dear, I made a mess. robingazi Debian 12 08-05-2006 11:52 AM
Made a mess with my swap partitions VaniaMih Linux - Newbie 12 12-01-2005 01:23 PM
Icons->Align to grid. Made a mess Lier Linux - Software 1 02-23-2005 05:01 PM
I made a ddclient mess =( ericnmu Linux - Software 2 11-08-2004 03:00 PM

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

All times are GMT -5. The time now is 10: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
Open Source Consulting | Domain Registration