LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 12-25-2010, 12:32 AM   #1
Chiff
LQ Newbie
 
Registered: Dec 2010
Location: NSW, Australia
Distribution: Trying A Few
Posts: 21

Rep: Reputation: 0
Angry Locked Out Of My Netbook


Hi All,
As a new person to linux I need some help.

I have an Asus 1001PQ which had windows starter on it. I managed to put Windows 7 Professional on it on "C" Drive and all was well. There was a second partition of 117 Gig and I thought I would put Linux Ubuntu for netbooks on it. All was fine until I hated the desktop as it had menus all over it.

So I tried to uninstall it and it would not do it. I had a cow of a time trying to access the Bios to change the start up drives so that an external cd drive booted first. Anyways, all failed and I got into windows and deleted the second partition to reformat it and re-install a different Linux Distro to try but windows trash would not let me re format the partition.

Now I can not access the Bios or boot from the external cd player.

I just get the message:

error: no such partition.
grub rescue>


How in the world do I access "C" Drive with windows in it?

Thank you for your kind assistance with my mess that I caused.

I don't think I like this Grub nonsense too much.

Kind regards to you.

Chiff.

ps. A step by step help would be very, very appreciated.

Last edited by Chiff; 12-25-2010 at 12:34 AM. Reason: added extra sentence.
 
Old 12-25-2010, 12:49 AM   #2
Chiff
LQ Newbie
 
Registered: Dec 2010
Location: NSW, Australia
Distribution: Trying A Few
Posts: 21

Original Poster
Rep: Reputation: 0
I also meant to put that I cannot do anything as it always comes back to this blasted screen message.

error: no such partition.
grub rescue>

I have tried and tried to hit F2 and all the other keys to get to the bios with no luck as I thought I would
be able to re format the whole drive and start again.

I hope I don't have to re format C drive with Windows on it. It was drive D that was the issue.

I don't know why in the world they had two partitions on it? Anyways. It would have given me about 200 Gig for Linux and 50
for Windows.

Again, thanks for your kind help.
 
Old 12-25-2010, 04:41 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Why can you not access the Bios or boot from the external cd player anymore? If you want to put the windows boot loader back on the MBR you need to boot from your windows install CD and at the command prompt/recovery console run the command fixmbr, or is it fixboot? Google knows. I've never done it. But if you can't boot from a CD it's academic...

Another option is to install regular Ubunut over the partition that you installed the netbook edition
 
Old 12-25-2010, 05:17 AM   #4
Sylvester Ink
Member
 
Registered: Jun 2010
Posts: 44

Rep: Reputation: 19
Just a heads up, I noticed that when booting up an Asus netbook you want to hit ESC to pull up the menu to choose what media to boot from. If you have Bootbooster enabled, you may need to disable it in the bios to access the menu. In fact, Bootbooster makes it difficult to get to the bios, since it gets through the initial bios startup so quickly. You just have to tap that F2 repeatedly as the system is coming up, in my experience.

In any case, it seems to me that when you deleted your Ubuntu partition, you deleted the portion of the Grub bootloader that's on the Ubuntu partition. (Grub is the menu that gives you the option to boot to Windows or Linux.) You can read more about it and how you might go about fixing it here:
http://www.askvg.com/how-to-remove-l...l-boot-system/

Another solution is to just install the next Linux distribution you plan on replacing Ubuntu netbook edition with. Most of the time they install a bootloader, which would replace the corrupted one you have now and allow you to boot properly again.

And now a bit of theory that may help you understand:
A bootloader is a tiny program that is installed at the start of your hard drive, in the Master Boot Record. When you boot up your computer, it first checks this section for instructions on where to proceed next. The bootloader installed here is very simplistic, pointing to another location on the hard drive where the next stage of the bootloader can be found. Once this next stage is executed, you get the fancy stuff drawn to the screen giving you a choice of which partition to boot to.
The Windows bootloader assumes that you want to boot to Windows only, so it points directly to the Windows startup.
Linux bootloaders, like Grub and Lilo, point to a more complex program that gives you a choice of which OS to boot to.
When you installed Ubuntu, Grub replaced the Windows bootloader in the MBR.
When you deleted your Ubuntu partition, the initial stage of Grub pointed to nothing, making it unable to find the next instructions to boot to.
What you will do to fix this is replace that remnant of Grub with the Windows bootloader so that it just points to windows again.
Alternately, you would install another version of Grub that points to a fresh Linux install for the next stage.

Probably unnecessary info, but it's good to know.
Hopefully I understood the gist of your problem properly.
 
Old 12-25-2010, 06:11 AM   #5
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
You should be able to boot directly from the prompt...
I think these are the correct commands, but it will depend on whether you have (legacy) grub or grub2.
Code:
root(hd0,1)
makeactive
chainloader + 1
boot
That is correct for grub2 (as far as I know) if Windows is installed on the first partition of the hard-drive (ie. /dev/sda1), which I would assume it is if you installed Ubuntu on top of Windows. If you were using legacy grub then you would use "root(hd0,0) instead, I think

Last edited by Snark1994; 12-25-2010 at 06:13 AM.
 
Old 12-25-2010, 01:36 PM   #6
Chiff
LQ Newbie
 
Registered: Dec 2010
Location: NSW, Australia
Distribution: Trying A Few
Posts: 21

Original Poster
Rep: Reputation: 0
[Solved] Locked Out Of My Netbook

Thank You all so much for your kind help. I really appreciated it heaps.
 
Old 12-26-2010, 06:55 AM   #7
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Well done for marking the thread 'solved' - it would be helpful if you posted what you did to fix the problem, just in case anyone else has the same problem
 
Old 12-29-2010, 02:41 AM   #8
Chiff
LQ Newbie
 
Registered: Dec 2010
Location: NSW, Australia
Distribution: Trying A Few
Posts: 21

Original Poster
Rep: Reputation: 0
I hit TAB+F2 and that got me into the bios and I was able to change the settings from there and boot from an external cd player.
All is well.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resolution overclocking using Ubuntu netbook Remix 10.04 on an asus eee 4G netbook pawn0 Linux - Newbie 1 08-30-2010 04:31 PM
MSI netbook Wind L1350 SD card reader with Ubuntu Netbook Edition 10.04 Cody Morgan Linux - Laptop and Netbook 0 06-15-2010 06:21 PM
Ubuntu Netbook Remix running very slow on my EEEPC netbook smschleidt Linux - Laptop and Netbook 1 05-05-2010 08:46 PM
LXer: HP breaks the netbook mold with the Mini 1000 and MIE Linux netbook LXer Syndicated Linux News 0 10-31-2008 01:50 AM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration