Eee Pc Grub Error
Contents |
grub - need to get it working to fix my Eee pc MBR « previous next » Print Pages: [1] Go Down Author Topic: USB super grub - need to get it working to fix my Eee pc MBR (Read grub rescue no such partition 5472 times) h84ll1 Newbie Posts: 1 USB super grub - need to get it working to
Grub Rescue Commands
fix my Eee pc MBR « on: 2008/05/19, 22:10:20 pm » Hi there,I'm in the process of trying to fix my Eee pc. I want to remove a partition that the previous owner setup for an install of linux. I have xp on a serparate partition.from advice i was given i used the in built windows disk management program and removed the reference to the partition with linux on, this resulted in grub no longer booting though :-(so, i followed the advice on the wiki for making a usb bootable version of supergrub to try and repair the MBR and get windows back and bootable.The instructions haven't worked though sadly. I have extracted the usb version into the flash drive, but the Eee can't boot it although it does try.Following the wiki instructions on my desktop machine i got a couple of errors in the grub terminal steps, first after this;grub>root (hd3,0)and second after this;grub>setup (hd3)1st was an error 22 i think, about the bios not allowing it2nd error 12 i thinkif you need me to chekc the errors i can do.Is this normal though?either way, i need help getting super grub bootable on the usb drive! :-)hope you can help!! thanks Logged adrian15 Administrator Hero Member Posts: 833 Please test Rescatux and report back feedback... Re: USB super grub - need to get it working to fix my Eee pc MBR « Reply #1 on: 2008/05/20, 20:53:40 pm » Quote from: h84ll1 on 2008/05/19, 22:10:20 pmHi there,I'm in the process of trying to fix my Eee pc. I want to remove a partition that the previous owner setup for an install of linux. I have xp on a serparate partition.from advice i was given i used the in built windows disk management program and removed the reference to the partition with linux on, this resulted in grub no longer booting though :-(so, i followed the advice on the wiki for making a usb bootable version of supergrub to try and repair the MBR and get windows back and bootable.The instructions haven't worked though sadly. I have extracted the usb version into the flash drive, but the Eee can't boot it although it does try.Following the wiki instructions on my desktop machine i got a couple
Member Registered: 2010-02-23 Posts: 166 Problems with GRUB with installing on Eee PC When I first tried to install Arch Linux, I ended up putting the GRUB bootloader in the wrong place -- I must have accidentally put it on the USB drive I was trying to install from, because after that I was not able to boot from the Eee PC 900's SSD (nor the USB drive).I just tried a second time to install, and I'm again unable to boot. This time, however, I did put GRUB in the correct place, and everything seemed to go smoothly. But after the reboot, I found that it's apparently GRUB itself that needs editing before I install.When the USB drive was not http://www.supergrubdisk.org/forum/index.php?topic=76.0 plugged in, I get this after choosing ArchLinux: Booting 'Arch Linux' root (hd1,0) Error 21: Selected Disk does not exist Press any key to continue...When it is plugged in, it goes right to this (without the boot menu): Booting 'Arch Linux' root (hd1,0) Error 22: No such partition Press any key to continue...Here's how it was set up:/dev/sda - I can't remember exactly what this was, I think it was the USB drive. Most likely, as that https://bbs.archlinux.org/viewtopic.php?id=91808 was where the system was installed./dev/sdb - If I knew what this was, I forgot./dev/sdc - This was where the 16 GB SDD ended up being. The following is what I think I remember the partitions being./dev/sdc1 - /boot/dev/sdc2 - /swap/dev/sdc3 - //dev/sdc4 - /homeIt is extremely late right now, so I'll deal with erasing, reformatting, and... re-imaging... the USB drive after sleep.When I get to doing that, how would I go about changing GRUB before I do the final reboot? Because if I don't edit GRUB before then, everything is ruined pretty much. (i.e., I have to waste a bunch of time again doing everything over.) Offline #2 2010-02-23 13:31:39 perbh Member From: Republic of Texas Registered: 2005-03-04 Posts: 765 Re: Problems with GRUB with installing on Eee PC *lol* I don't know just how many times I've come across the very same problem!Here's a li'l excerpt from menu.lst that you may find useful:title usb w/archlinux root (hd0,0) kernel /vmlinuz26 ro root=/dev/sdc3 initrd /kernel26.imgAs grub is invoked, your boot-device is (hd0), then as the initial boot-phase is over - sanity has been regained and your 'ssd' is now (hd0) and your usb is (hd2) Offline #3 2010-02-23 13:36:25 jimburnettva Member From: Virginia, USA Registered: 2010-02-12 Posts: 48 Website Re: Problems with GRUB with installing on Eee PC Howdy! I work with grub a bunch at work building
distribution of choice for EeePC as it was tailored for its architecture, and Linux still had some issues for running on laptops. The machine mounted a 160-Gb hard disk, factory-partitioned as such: A 152-Gb primary partition hosting the https://www.crans.org/~raffo/linux-eeepc.php WinXP OS; A 8-Gb recovery partition, unmounted and invisible from WinXP, containing Symantec Ghost 11.0 under Windows OS and a factory image of the EeePC; A 40-Mb EFI partition. To install Eeebuntu, I created in the primary partition /dev/sda1 a 66-Gb extended partition, split into two logical partitions: a 64-Gb for the Linux root (/dev/sda5); a 2-Gb swap space (/dev/sda6). The old factory partitions were identified by Linux as follows: The primary partition hosting the WinXP OS as /dev/sda1; The recovery grub rescue partition as /dev/sda3; The EFI partition as /dev/sda4. I'm still using the EeePC, of which I appreciate the reduced footprint, smaller than many of today's netbooks. Some years ago I wanted to refresh the Linux functionality of the machine by installing on it a more important distro such as Debian Squeeze. Just in case, I decided to keep the obsolete WinXP OS, to run Windows programs in case of need. Hence my project was to replace Eeebuntu with Debian, with minimum eee pc grub hassle and without disk repartitioning. Here I detail the steps I took, and the solutions for the issues encountered. Installing Debian We start by downloading the latest 32-bit Debian ISO (at the time I did the install, the latest version was Debian 6 - Squeeze). A small netinst image will do the job. Normally we're supposed to burn this image on a CD-ROM and boot the machine from it. Since the EeePC does not have an embedded CD player, and we would need to hook an external one via USB port, we proceed differently. UNetbootin is a tool that allows you to create a bootable USB disk or SD Card from any ISO image. It can even automatically prepare the USB or SD device with your preferred recent Linux distro. As the EeePC comes with a handy SD Card reader, we make a SD Card with the Debian installation ISO, and we boot the machine from it. (Press ESC during the BIOS sequence to select the media to boot from.) The installation of Debian is quite straightforward: just select the appropriate options, or stick with the default ones proposed, and we're good to go. When we're shown the partitioning options, we choose to re-format the existing Linux partition /dev/sda5 as ext3, and re-format the existing swap partition /dev/sda6 as swap. Then we install the Linux OS on /dev/sda5. Finally, we make sure that we also install the bootloader, GRUB. When w