(I posted this on LQ but have yet to recieve a response...) Help, I've got a very bizarre error going on. I installed SUSE 10.1 on a new laptop some time ago. It is a Gateway 280m TabletPC which came installed with Windows NT Tablet Edition. All has been running for the most part since install. Ive got SMART running the show and it has been fine. I wanted to install the touch screen part of the system (stupid me) and had to reboot to Windows (first time) in order to determine what the screen was. (Gateway informed me that they design the hardware for Windows XP so dont support Linux. Yes, I wrote them.) I exited windows, and then on reboot, I cannot load anything. I get the message, "GRUB loading stage 1.5" then the machine goes into an endless cycle of rebooting. I did some searching and found some Ubuntu solutions. I loaded both SUSE and Ubuntu live DVDs and tried fiddling around with things. I cannot seem to get the grub.conf file to load. I did load SUSEs rescue system on the DVD. I tried to fix the boot loader, but go the following error: GNU GRUB version 0.97 (640K lower / 3072K upper memory) [Minimal BASH-like editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub>setup-stage2=/boot/grub/stage2(hd0,5) (hd0,5) Error21:Selected disk does not exist grub>setup-stage2=/boot/grub/stage2(hd0)(hd0,5) error 21: Selected disk does not exist grub>quit press OK I thought, okay, Ill load LILO. Nope: Error Occurred while installing LILO. LiLO version 22.7, Copyright (C) 1992-1998 Werner Fatal: raid_setup: stat(/dev/sda) For reference, my partition table looks like: /dev/sda HTS541080G9SA00 /dev/sda1 HPFS/NTFS /dev/sda2 Win95 FAT32 /dev/sda3 Extended /dev/sda5 Linux swap /dev/sda6 Linux native /dev/sda7 Linux native On the suggestion of one Ubuntu forum, I did the following. I went into root, typed grub, then find /boot/grub/stage1 It spit back grub> root (hd0,5) Isnt that sda5? If so, thats my swap partition. Okay, I went ahead and did the following: grub> find /boot/grub/stage1 (hd0,5) grub> root (hd0,5) Filesystem type is reiserfs, partition type 0x83 grub> setup (hd0,6) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/reiserfs_stage1_5" exists... yes Running "embed /boot/grub/reiserfs_stage1_5 (hd0,6)"... 18 sectors are embedd ed. succeeded Running "install /boot/grub/stage1 (hd0,6) (hd0,6)1+18 p (hd0,5)/boot/grub/sta ge2 /boot/grub/menu.lst"... succeeded Nada. I still get GRUB loading stage 1.5 Ideas? -- Kai Ponte www.perfectreign.com || www.4thedadz.com remember - a turn signal is a statement, not a request
Subject: [SLE] Windows Ate A GRUB
http://jengelh.hopto.org/GFX/fpix/grub.jpg SCNR.
message, "GRUB loading stage 1.5" then the machine goes into an endless cycle of rebooting.
Try to reinstall GRUB. Can't you use the grub-install script?
GNU GRUB version 0.97 (640K lower / 3072K upper memory) [Minimal BASH-like editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub>setup-stage2=/boot/grub/stage2(hd0,5) (hd0,5)
Error21:Selected disk does not exist grub>setup-stage2=/boot/grub/stage2(hd0)(hd0,5)
error 21: Selected disk does not exist grub>quit
press OK
I thought, okay, Ill load LILO. Nope:
Error Occurred while installing LILO.
LiLO version 22.7, Copyright (C) 1992-1998 Werner Fatal: raid_setup: stat(/dev/sda)
grub> root (hd0,5)
Isnt that sda5? If so, thats my swap partition.
Grub starts counting at ZERO. Yes, it's weird. sda5 == (0,4) Jan Engelhardt --
On Thu, September 28, 2006 1:32 am, Jan Engelhardt wrote:
Subject: [SLE] Windows Ate A GRUB
http://jengelh.hopto.org/GFX/fpix/grub.jpg SCNR.
message, "GRUB loading stage 1.5" then the machine goes into an endless cycle of rebooting.
Try to reinstall GRUB. Can't you use the grub-install script?
Thank you. No - I've tried reinstalling GRUB. It gives me a message that it cannot find the hard drive. On the advice of another post, I went ahead and booted using the DVD and then deleted /boot/grub/stage1 I then tried to reinstall and got: GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> setup --stage2=/boot/grub/stage2 (hd0,5) (hd0,5) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 15: File not found grub> setup --stage2=/boot/grub/stage2 (hd0) (hd0,5) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 15: File not found grub> quit Okay, so I rebooted with the DVD and tried the repair option. I then got the message, The partition /dev/sda5 has the file system ID 130 and contains a valid swap area. Activating this swap partition insreases the performance of the repair tool. Activate? Grrr... I'm wondering if I can just wipe XP off the face of this laptop. My other laptop has been Windows-free for over a year now. -- kai www.perfectreign.com
On Thursday 28 September 2006 12:26 am, PerfectReign wrote:
On the suggestion of one Ubuntu forum, I did the following. I went into root, typed grub, then find /boot/grub/stage1
It spit back
grub> root (hd0,5)
Isnt that sda5? If so, thats my swap partition.
No, the (hd0,x) numbering system starts with zero, so (hd0,x) refers to /dev/sda(x+1). I was recently a victim of hardware misbehavior masquerading as grub misconfiguration. Paul
On 28/09/06 11:04, Paul Abrahams wrote:
On Thursday 28 September 2006 12:26 am, PerfectReign wrote:
On the suggestion of one Ubuntu forum, I did the following. I went into root, typed grub, then find /boot/grub/stage1
It spit back
grub> root (hd0,5)
Isn’t that sda5? If so, that’s my swap partition.
No, the (hd0,x) numbering system starts with zero, so (hd0,x) refers to /dev/sda(x+1).
I was recently a victim of hardware misbehavior masquerading as grub misconfiguration. In fact, I would refer Kai to that thread (Windows install *after* Linux), since it contains a number of very valuable instructions posted by Felix Miata.
On Thursday 28 September 2006 1:32 pm, Darryl Gregorash wrote:
In fact, I would refer Kai to that thread (Windows install *after* Linux), since it contains a number of very valuable instructions posted by Felix Miata.
Since it's sometimes hard to retrieve such things, I'll repost them on Felix's behalf: 1-partition completely first, preferably with a cross-platform and/or OS-agnostic tool, to prevent balks by unruly installers. Reserve for /boot on hda1, and put a tiny FAT16b on hda2 or hda3 for windoz to boot from. Make hda1 "active". 2-install Linux, but put the bootloader on hda1, not the MBR 3-add a stanza to menu.lst or lilo.conf for the windoz primary. do not include "makeactive", unless you want to always start boot from the NTLoader menu on the successive boot 4-set the FAT partition "active" 5-install windoz 5b-(optional) add the Linux hda1 to doz's boot.ini 6-use any of a zillion DOS or windoz or open source tools to change the "active" partition back to hda1 (changing 2 bits in the MBR partition table) At this point you're ready to boot any OS from the Grub or Lilo menu, with a fallback to booting either doz or Linux using NTLoader if you chose option 5b, and you're doing it with pure generic MBR code. Generic MBR code simply transfers boot control to whichever primary is set "active". Any OS installations beyond the first two are easily added to the boot.ini and/or lilo.conf/menu.lst menus. Just remember to place additional Linux boot loaders on their respective boot/root partitions, and set the doz primary active before every doz (re)installation. Paul
On Thu, September 28, 2006 11:01 am, Paul Abrahams wrote:
On Thursday 28 September 2006 1:32 pm, Darryl Gregorash wrote:
In fact, I would refer Kai to that thread (Windows install *after* Linux), since it contains a number of very valuable instructions posted by Felix Miata.
Since it's sometimes hard to retrieve such things, I'll repost them on Felix's behalf:
Thanks! It is right here: http://lists.suse.com/archive/suse-linux-e/2006-Sep/3850.html
1-partition completely first, preferably with a cross-platform and/or OS-agnostic tool, to prevent balks by unruly installers. Reserve for /boot on hda1, and put a tiny FAT16b on hda2 or hda3 for windoz to boot from. Make hda1 "active".
That would be a good idea. Maybe I'll whack both (all) partitions and reinstall Wintendo on hda1. -- Kai Ponte www.perfectreign.com || www.4thedadz.com remember - a turn signal is a statement, not a request
On 06/09/28 14:01 (GMT-0400) Paul Abrahams apparently typed:
On Thursday 28 September 2006 1:32 pm, Darryl Gregorash wrote:
In fact, I would refer Kai to that thread (Windows install *after* Linux), since it contains a number of very valuable instructions posted by Felix Miata.
Since it's sometimes hard to retrieve such things, I'll repost them ...
Since it comes up so often, and not just here, I'm right now building a page on the subject for my web site at http://mrmazda.no-ip.com/install-doz-after.html . Nothing useful there yet, but stay tuned. It's linked from URL below. -- "Wisdom is supreme; therefore get wisdom. Though it cost all you have, get understanding. Esteem her, and she will exalt you; embrace her, and she will honor you." Proverbs 4:7-8 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/partitioningindex.html
On 9/28/06, Felix Miata wrote:
Since it comes up so often, and not just here, I'm right now building a page on the subject for my web site at http://mrmazda.no-ip.com/install-doz-after.html . Nothing useful there yet, but stay tuned. It's linked from URL below.
Felix, why not put it on susewiki.org? -- -- Svetoslav Milenov (Sunny) Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
On 06/09/28 15:19 (GMT-0500) Sunny apparently typed:
On 9/28/06, Felix Miata wrote:
Since it comes up so often, and not just here, I'm right now building a page on the subject for my web site at http://mrmazda.no-ip.com/install-doz-after.html . Nothing useful there yet, but stay tuned. It's linked from URL below.
why not put it on susewiki.org?
At least 2 reasons. One is the subject of the thread I started an hour ago. The other is that it isn't specific to SUSE. Someone can put a link to it on the wiki. -- "Wisdom is supreme; therefore get wisdom. Though it cost all you have, get understanding. Esteem her, and she will exalt you; embrace her, and she will honor you." Proverbs 4:7-8 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/partitioningindex.html
On 28/09/06 11:04, Paul Abrahams wrote:
On Thursday 28 September 2006 12:26 am, PerfectReign wrote:
On the suggestion of one Ubuntu forum, I did the following. I went into root, typed grub, then find /boot/grub/stage1
It spit back
grub> root (hd0,5)
Isn’t that sda5? If so, that’s my swap
On Thu, September 28, 2006 10:32 am, Darryl Gregorash wrote: partition.
No, the (hd0,x) numbering system starts with zero, so (hd0,x) refers to /dev/sda(x+1).
I was recently a victim of hardware misbehavior masquerading as grub misconfiguration. In fact, I would refer Kai to that thread (Windows install *after* Linux), since it contains a number of very valuable instructions posted by Felix Miata.
Cool. I found it no problem. I'll look through the thread and determine what steps to take. -- Kai Ponte www.perfectreign.com || www.4thedadz.com remember - a turn signal is a statement, not a request
On Wednesday 27 September 2006 22:26, PerfectReign wrote:
I installed SUSE 10.1 on a new laptop some time ago. It is a Gateway 280m TabletPC which came installed with Windows NT Tablet Edition. All has been running for the most part since install. [...]
I [...] had to reboot to Windows (first time) [...] I exited windows, and then on reboot, I cannot load anything. I get the message, "GRUB loading stage 1.5" then the machine goes into an endless cycle of rebooting.
Very similar here. I have a desktop with 2 SATA disks and one came installed with WinXP (/dev/sda). After installing 10.1 in the second (/dev/sdb) and being happy for while, I logged for the first time into WinXP and from then on Grub just flashed on the screen (I mean the version of Grub) and then the machine went to Windows directly. Notice that I did NOT install WinXP after Linux (but perhaps the Automatic Update I ran did the damage?). So, the how-to suggested by others doesn't actually apply. I got the same "Error21:Selected disk does not exist" when I tried to repair the boot loader. Instead of exiting the repair mode and mounting the partitions to do a grub-install, I did the following: 1) Restart the DVD: Installation -> Other -> Boot Installed System (instead of "Repair Installed System"). 2) Logged in as root. I didn't have network, because somehow the old kernel (maybe from the DVD?) was loaded and no modules were found. 3) Run "grub-install /dev/sda", which is the Win disk, but it is the place that was being attempted by the automatic repair. (I tried to use Repair to install Grub in other places, but it didn't work. Same Error 21.) 4) Grub exited with success ("No error reported.") and now I can reboot into Win and back without a problem. I hope it stays so when I use auto-update in Win again, but now I can fix it easily if it breaks. Carlos FL
* Carlos F Lange
I hope it stays so when I use auto-update in Win again, but now I can fix it easily if it breaks.
One true complete solution and regain unusable disk space. Reformat /dev/sda. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
participants (8)
-
Carlos F Lange
-
Darryl Gregorash
-
Felix Miata
-
Jan Engelhardt
-
Patrick Shanahan
-
Paul Abrahams
-
PerfectReign
-
Sunny