Quote:
Except for my painful experience installing Linux on fake hardware RAID I wouldn't have learned a lot about GRUB booting. I have to say that the painful experience was with Slackware 10. At that time Slackware was the only distro that I could figure out how to boot from my RAID. Today, Slackware is much easier to install on fake hardware RAID. Slackware has made exceptional progress in adding flexibility and support for unusual boot requirements. |
Well, I tried removing the /boot section of the menu.lst line as suggested. Completely forked it up. Kernel panic ensued, and it also somehow stopped my USB boot stick from working so I can't get into my slack installation at all.
I dug out an old super grub disk from somewhere and that can't boot it either. I'm in puppy linux at the moment trying to get back into slackware to sort something out - i will try to put in the extra simlink as you suggest. I hate Grub with a passion, I have as little to do with it as possible, and i'm remembering why again. Additional - I created the simlink, tried to boot again, still kernel panic. Error message says something about not syncing - unable to find init. |
Quote:
|
Finally!
Code:
root (hd0,0) Thanks very much for your help guys, very much appreciated!! |
No doubt!
now, I suggest you make or get a compatible slackware livecd/usb to fix anything if it ever gets messy again. Better than using Puppy or some other non-slack distro! That's why I made the MiniSC and MiniSCR, runs just like Slax their slackware -current but I have one that has both the slackware 2.6.33.4-smp kernel and a 2.6.35.6 kernel too. the latest one only has 2.6.35.7-smp kernel MiniSCR (R= rescue) (best for persistent usb) http://multidistro.com/NFLUXNEW/SQ4/...os/miniscr.zip see here http://linux.softpedia.com/get/Syste...ue-60734.shtml Quote:
http://www.salixos.org/wiki/index.php/Download and i can easily show you how to make your own installable/persistent hdd/usb rescue cd with desktop,etc or just remaster one Good luck on your adventures in Slackware! |
I also think that the separate boot-partition might be the issue. I recently installed Slackware 13.1 and created a separate boot-partition (for information, the reason for this is that on older PCs, but maybe not anymore, be BIOS (?) couldn't handle boot partitions larger than X mb so it was recommended to create a boot-partition which was smaller than 1 GB/1024MB).
I couldn't get it to boot, so I tried installing with everything on the same partition, and then it worked. For my installation I had lilo as boot manager though as that was the default. |
A Salix USB would make a handy backup certainly, i'll give that a go.
You are probably right that the boot partition is the problem, but I normally use one as I normally encrypt mobile devices. I only didn't bother this time as I was in a hurry and there doesn't seem to be an easy way to encrypt with the Slackware installer - I intend to reinstall Slackware on this lappy soon but using encrypted LVM. Hopefully it will be easier next time now I know more about how grub works and I will definately have a Salix USB rescue installation! Thanks again. |
Eric Fl Thank you for the excellent 'Howto'/description of Grub! It is by far the best I have read on the very confusing complex subject.
|
+1 ^
It should be a wiki article if it isn't already. |
Grub2 uses grub-mkconfig to generate a configuration file for you. It appears to work fairly well, although I've written a /etc/grub.d/09_slackware_linux file (based off the 10_linux file that comes with the grub2 slackbuild) that attempts to match the way Slackware does things versus (I guess) Debian's way.
I've got a mix of SATA and SCSI drives, a root partition on lvm, a separate /boot ext2 partition and a Windows XP drive. grub-mkconfig managed to find everything and provided valid menu entries. (Well, the 10_linux menu generator script appears to believe that you would use an available initrd with any kernel that has the same version number.) |
Quote:
|
Just a brief remark: You need some code in the MBR, since (as EricFL pointed out) the BIOS loads that code first. THis MBR-code then starts GRUB proper. If necessary GRUB can put that code in the MBR.
Reason I mention this: If you build your own machine or buy a new disk and have no OS running yet you have to install this code once -- in this case by GRUB. |
All times are GMT -5. The time now is 02:15 AM. |