RE: [SLE] FW: Grub Problem (Was "Major Problem Moving form 9.0 to 9.1")
On Saturday 03 September 2005 21:30, you wrote:
On Saturday, September 03, 2005, Carl Hartung wrote:
On Saturday 03 September 2005 20:43, Greg Wallace wrote:
I forgot to mention. The reason I'm migrating instead of doing fresh installs is that I need to carry my Oracle system with me. I don't know how to back all of that up and get it re-installed from scratch. That's why I'm migrating. I tried jumping from 9.0 to 9.2 and from 9.0 to 9.3, but it doesn't seem to be supported (it said something about no plan for
converting packages).
Hi Greg,
Sorry, I was called out early this morning and just got back.
So, you were able to boot normally under 9.0 and it is failing under 9.1?
- Carl
No problem. Thanks for giving me your time. And, yes, you're exactly right. I guess /boot/grub... is now too far down on my drive for my Dell machine to branch to stage2 at boot time. Maybe my only solution is to create multiple partitions and move /boot to the first partition. That would guarantee that it would be high enough on the disk for the BIOS to branch to. I'm basing this on my recollections of earlier related
On Saturday, September, 03, 2005 @ 5:51 PM, Carl Hartung wrote: threads
and I may be completely off base. If I'm on the right track, I need to --
1) Split my physical partition into two logicals, with the first being one containing only the /boot directory 2) Set up grub to boot using that partition. 3) When the system boots, have both of these partitions mounted so I can access all of the data in all of my directories.
Am I on the right track here?
Thanks, Greg Wallace
Hi Greg,
I don't mind you taking this off-list, but I want to confirm this was your intent? Also, can you send/post your current /etc/fstab?
Carl
Hey Carl. No, I didn't mean to take it off list. I have to change "To" each time I send and your "suselinux..." looked at a glance like the correct To (I should have looked more closely). Anyway, here's my fstab (blank line inserted between entries) -- /dev/hda2 / ext3 defaults 1 1 devpts /dev/pts devpts mode=0620,gid=5 0 0 /dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec 0 0 /dev/cdrom /media/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 /dev/sda1 /media/sda1 auto noauto,user,exec 0 0 /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 /dev/sda2 /media/sda2 auto sync,noauto,user,exec 0 0 /dev/sda2 /media/sda5 ext2 noauto 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/hda1 swap swap pri=42 0 0 Jumping ahead a bit, would the following plan be on the right track -- 1) Convert /dev/hda2 to an extended partition 2) Insert two logical partitions beneath that. The first would be small and just contain /boot... and the second would contain the rest of my data Then, everything required at boot should be high enough to satisfy my BIOS. Am I on the right track, or am I all wet? By the way, I know this is a holiday weekend. And this is certainly not urgent. In fact, work wise, this is not holding me up right now. It's just something I need to get resolved here in, hopefully, the next week or two. Right now, I'm off to run some errands. I'll check email when I get back and, if you're off to other things, I'll keep checking on and off every so often until you have time to get back. Have a nice weekend! Thanks again, Greg Wallace
On Saturday 03 September 2005 22:25, Greg Wallace wrote: <snip>
/dev/hda1 swap swap pri=42 0 0 /dev/hda2 / ext3 defaults 1 1 <snip>
How about trimming 30 MB (1%) off /swap to create a dedicated /boot partition (primary) at the beginning of the drive, i.e.: hda1 /boot hda2 /swap hda3 / That way, you'd never find yourself unable to boot due to a patch or upgrade inadvertently "pushing" the boot files beyond the limit set by your BIOS. - Carl
On Saturday, September 03, 2005 @ 6:25 PM, I wrote:
On Saturday, September, 03, 2005 @ 5:51 PM, Carl Hartung wrote:
On Saturday 03 September 2005 21:30, you wrote:
On Saturday, September 03, 2005, Carl Hartung wrote:
On Saturday 03 September 2005 20:43, Greg Wallace wrote: <snip> Hi Greg,
Sorry, I was called out early this morning and just got back.
So, you were able to boot normally under 9.0 and it is failing under 9.1?
- Carl <snip> Hi Greg,
I don't mind you taking this off-list, but I want to confirm this was your
intent? Also, can you send/post your current /etc/fstab?
Carl
Hey Carl. No, I didn't mean to take it off list. I have to change "To" each time I send and your "suselinux..." looked at a glance like the correct To (I should have looked more closely). Anyway, here's my fstab (blank line inserted between entries) --
/dev/hda2 / ext3 defaults 1 1
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec 0 0
/dev/cdrom /media/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
/dev/sda1 /media/sda1 auto noauto,user,exec 0 0
/dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0
/dev/sda2 /media/sda2 auto sync,noauto,user,exec 0 0
/dev/sda2 /media/sda5 ext2 noauto 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/hda1 swap swap pri=42 0 0
<snip>
Thanks again, Greg Wallace
Here's something else that might be relevant. If I go into Boot Loader Configuration and do 1) Replace Code in MBR 2) Finish I get this Error occurred while installing GRUB GNU GRUB version 0.94 (640K lower / 3072 K upper memory) [Minimal BASH-like line editing supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename] grub root (hd0,2) Error 21: Selected disk does not exist grub> install -- stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,2) /boot/grub/menu.lst Error 12: Invalid device requested grub> quit Greg
On Sunday 04 September 2005 00:49, Greg Wallace wrote: <snip>
grub root (hd0,2)
In 'grub-speak' "(hd0,2)" means the first hard disk, third partition (numbering starts at 0)...
Error 21: Selected disk does not exist
it's telling you there is no third partition on /dev/hda, which is correct. - Carl
On Saturday, September 03, 2005 @ 9:23 PM, Carl Hartung wrote:
On Sunday 04 September 2005 00:49, Greg Wallace wrote: <snip>
grub root (hd0,2)
In 'grub-speak' "(hd0,2)" means the first hard disk, third partition (numbering starts at 0)...
Error 21: Selected disk does not exist
it's telling you there is no third partition on /dev/hda, which is correct.
- Carl
So maybe all I have is a grub problem. Your idea of trimming some off of the end of my swap sounds ok too, but if I can fix this by just modifying my boot loader setup, that would be even better. I went into menu.lst and changed the (hd0,2) entries to (hd0,1), but now I have another problem. I was trying to use the grub utility in YaST earlier and now, when I run grub and say - find /boot/grub/stage1 it says - Error 15: File not found Ooops! I guess I've got it really screwed up now! Greg
Greg Wallace wrote:
when I run grub and say -
find /boot/grub/stage1
it says -
Error 15: File not found
Ooops! I guess I've got it really screwed up now!
Greg
Looks more like a bug in grub. I have the same, but ls /boot/grub shows that stage1 is still alive and kicking. And my system is booting fine. Regards, -- Jos van Kan www.josvankan.tk
On Sunday, September 04, 2005 @ 1:36 AM, Jos van Kan wrote:
Greg Wallace wrote:
when I run grub and say -
find /boot/grub/stage1
it says -
Error 15: File not found
Ooops! I guess I've got it really screwed up now!
Greg
Looks more like a bug in grub. I have the same, but ls /boot/grub shows that stage1 is still alive and kicking. And my system is booting fine.
Regards,
-- Jos van Kan www.josvankan.tk
Yep. It was a grub problem. I had hosed the file /boot/grub/device.map. Now I can boot from the hard drive but when I do, eth0 still doesn't start and I have no keyboard or mouse usage. If I boot from the Linux DVD, I do have those devices but still no network. I'm thinking about going back to 9.0 and doing another conversion. While I'm back down there, I'm going to copy off my entire /boot/grub directory for referral later. Maybe I'll look around and see if there is anything else I might need to refer to when I get back to 9.1. If I get back to 9.1 and grub is working but still no network, I'll just install 9.2 over 9.1. When I was at 9.2 earlier, the network cleared itself up but I had grub and Apache problems. I think I know how to fix Apache when I get there and maybe I now will be able to get grub fixed. If so, I should have a working 9.2 at that point and be ready to go to 9.3. That's the game plan anyway. Thanks for the input, Greg Wallace
Greg Wallace wrote:
On Saturday, September 03, 2005 @ 9:23 PM, Carl Hartung wrote:
On Sunday 04 September 2005 00:49, Greg Wallace wrote: <snip>
grub root (hd0,2)
In 'grub-speak' "(hd0,2)" means the first hard disk, third partition (numbering starts at 0)...
Error 21: Selected disk does not exist
it's telling you there is no third partition on /dev/hda, which is correct.
- Carl
So maybe all I have is a grub problem. Your idea of trimming some off of the end of my swap sounds ok too, but if I can fix this by just modifying my boot loader setup, that would be even better. I went into menu.lst and changed the (hd0,2) entries to (hd0,1), but now I have another problem. I was trying to use the grub utility in YaST earlier and now, when I run grub and say -
find /boot/grub/stage1
it says -
Error 15: File not found
Ooops! I guess I've got it really screwed up now! Before you did this, did you run "root (hd0,1)" at the grub prompt?
On Sunday, September 04, 2005 @ 3:59 AM, Darryl Gregorash wrote:
Greg Wallace wrote:
On Saturday, September 03, 2005 @ 9:23 PM, Carl Hartung wrote:
On Sunday 04 September 2005 00:49, Greg Wallace wrote: <snip>
grub root (hd0,2)
In 'grub-speak' "(hd0,2)" means the first hard disk, third partition (numbering starts at 0)...
Error 21: Selected disk does not exist
it's telling you there is no third partition on /dev/hda, which is correct.
- Carl
So maybe all I have is a grub problem. Your idea of trimming some off of the end of my swap sounds ok too, but if I can fix this by just modifying my boot loader setup, that would be even better. I went into menu.lst and changed the (hd0,2) entries to (hd0,1), but now I have another problem. I was trying to use the grub utility in YaST earlier and now, when I run grub and say -
find /boot/grub/stage1
it says -
Error 15: File not found
Ooops! I guess I've got it really screwed up now! Before you did this, did you run "root (hd0,1)" at the grub prompt?
Never mind on this one. I finally figured it out. This Storix software that I use to do full disk backup/restore changed all of the references in grub and screwed it up. Grub support in this software is still fairly new and they obviously haven't gotten all of the kinks out of it yet. Thanks, Greg Wallace
participants (4)
-
Carl Hartung
-
Darryl Gregorash
-
Greg Wallace
-
Jos van Kan