This is a discussion on slack hang at BIOS data check within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> My slackware 11 is hanging at the point "BIOS data ckeck" just after booting it via lilo. It is ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| My slackware 11 is hanging at the point "BIOS data ckeck" just after booting it via lilo. It is hapening like that since i changed the booting devices order in the BIOS; i just shifted the boot on USD HDD from 5th or farther to third just before the main hardware on which there is the linux partition and windows. also note that however is my usb key (plugged in or not) Linux is hanging. |
| |||
| heavytull wrote: > My slackware 11 is hanging at the point "BIOS data ckeck" just after > booting it via lilo. > > It is hapening like that since i changed the booting devices order in > the BIOS; > > i just shifted the boot on USD HDD from 5th or farther to third just > before the main hardware on which there is the linux partition and > windows. > > also note that however is my usb key (plugged in or not) Linux is > hanging. Try this just for fun: in your lilo.conf, set vga=ask and see what happens. Remember to run lilo as root after changing the lilo.conf file. You may have a problem with the frame buffer... John. |
| |||
| On Apr 22, 10:45 pm, "John K. Herreshoff" <n...@not.here> wrote: > heavytullwrote: > > My slackware 11 is hanging at the point "BIOSdata ckeck" just after > > booting it via lilo. > > > It is hapening like that since i changed the booting devices order in > > theBIOS; > > > i just shifted the boot on USD HDD from 5th or farther to third just > > before the main hardware on which there is the linux partition and > > windows. > > > also note that however is my usb key (plugged in or not) Linux is > > hanging. > > Try this just for fun: in your lilo.conf, set vga=ask and see what happens. > Remember to run lilo as root after changing the lilo.conf file. You may > have a problem with the frame buffer... > > John. i said that linux was hanging, it means that i cannot run lilo. i could maybe run a linux live like slax, but i don't know how to run lilo or anything else as if / was the partition of the linux that is not booting on the hard drive. |
| |||
| heavytull wrote: > i could maybe run a linux live like slax, but i don't know how to run > lilo or anything else as if / was the partition of the linux that is > not booting on the hard drive. Boot the CD you used to install Slackware from, using "root=/dev/sda1" (or whatever your root device is) as an argument to the boot command. This is actually described in the informational screen that comes up at the boot prompt of the installation CD. I hope it helps ... -- ---------------------------------------------------------------------- Sylvain Robitaille syl@alcor.concordia.ca Systems and Network analyst Concordia University Instructional & Information Technology Montreal, Quebec, Canada ---------------------------------------------------------------------- |
| |||
| On Mon, 23 Apr 2007 06:36:56 -0700, heavytull wrote: > i could maybe run a linux live like slax, but i don't know how to run > lilo or anything else as if / was the partition of the linux that is > not booting on the hard drive. man mount man chroot man n00b -- "Ubuntu" -- an African word, meaning "Slackware is too hard for me". |
| |||
| heavytull (heavytull@hotmail.com) writes: > On Apr 22, 10:45 pm, "John K. Herreshoff" <n...@not.here> wrote: >> heavytullwrote: >> > My slackware 11 is hanging at the point "BIOSdata ckeck" just after >> > booting it via lilo. >> >> > It is hapening like that since i changed the booting devices order in >> > theBIOS; >> >> > i just shifted the boot on USD HDD from 5th or farther to third just >> > before the main hardware on which there is the linux partition and >> > windows. >> >> > also note that however is my usb key (plugged in or not) Linux is >> > hanging. >> >> Try this just for fun: in your lilo.conf, set vga=ask and see what happens. >> Remember to run lilo as root after changing the lilo.conf file. You may >> have a problem with the frame buffer... >> >> John. > > i said that linux was hanging, it means that i cannot run lilo. > > i could maybe run a linux live like slax, but i don't know how to run > lilo or anything else as if / was the partition of the linux that is > not booting on the hard drive. > As Sylvain says, you can do it by booting with the CD or DVD that you installed with. The introductory to LILO tend to not really explain what it's doing. I know I was surprised when I just fiddled with something around the kernel that it would no longer boot. That's because LILO needs to know the absolute location on the drive that the kernel begins, and if you detete the kernel and put it back, chances are good it won't land at the same place. So every time you fiddle with the kernel, you need to update with lilo. Michael |
| |||
| heavytull wrote: > On Apr 22, 10:45 pm, "John K. Herreshoff" <n...@not.here> wrote: >> heavytullwrote: >> > My slackware 11 is hanging at the point "BIOSdata ckeck" just after >> > booting it via lilo. >> >> > It is hapening like that since i changed the booting devices order in >> > theBIOS; >> >> > i just shifted the boot on USD HDD from 5th or farther to third just >> > before the main hardware on which there is the linux partition and >> > windows. >> >> > also note that however is my usb key (plugged in or not) Linux is >> > hanging. >> >> Try this just for fun: in your lilo.conf, set vga=ask and see what >> happens. >> Remember to run lilo as root after changing the lilo.conf file. You may >> have a problem with the frame buffer... >> >> John. > > i said that linux was hanging, it means that i cannot run lilo. > > i could maybe run a linux live like slax, but i don't know how to run > lilo or anything else as if / was the partition of the linux that is > not booting on the hard drive. Oh duuhhhh. Yeah... You need a rescue disk to boot linux and then fiddle with lilo.conf. Here's what I just worked out... 1) boot with your slackware #1 CD, and get to the command line... you will be root. 2) Here is where it may get tricky if you have a 'fancy' partition table. You will need to mount the partition containing /etc and the partition containing /usr/bin. We'll assume that you have just one partition located on hda1. So cd to /mnt and mkdir root. If you have scsi, then it is sda1. 3) run the command mount /dev/hda1 /mnt/root, and then cd to /mnt/root to see what you have... Hopefully you will see etc, bin, usr, and so on. 4) cd to /mnt/root/etc (or from /mnt/root, just etc) and see what is there... You should see a lilo.conf file there. If so, then from that directory run /mnt/root/usr/bin/pico lilo.conf, which should open your lilo.conf file. If that craps out, try /mnt/root/usr/bin/pico /mnt/root/etc/lilo.conf. Edit the lilo.conf file by placing a # on the line that has the current vga setting, and un-# the line that says vga=ask. If you don't see vga=ask, insert it with the other vga= lines, but make sure that it is the only uncommented vga= line. 5) cd to /mnt and umount root. 6) If you have more than one partition, you will need to mount the partitons containing /etc and /usr/bin so that you can 1) see lilo.conf and 3) run pico (or whatever quick and dirty command line editor you like) 7) reboot and remove the slackware CD. Hopefully you will get to the 'select the font' or whatever it says, and after that it will boot. HTH. John. |
| |||
| John K. Herreshoff wrote: > heavytull wrote: > >> On Apr 22, 10:45 pm, "John K. Herreshoff" <n...@not.here> wrote: >>> heavytullwrote: >>> > My slackware 11 is hanging at the point "BIOSdata ckeck" just after >>> > booting it via lilo. >>> >>> > It is hapening like that since i changed the booting devices order in >>> > theBIOS; >>> >>> > i just shifted the boot on USD HDD from 5th or farther to third just >>> > before the main hardware on which there is the linux partition and >>> > windows. >>> >>> > also note that however is my usb key (plugged in or not) Linux is >>> > hanging. >>> >>> Try this just for fun: in your lilo.conf, set vga=ask and see what >>> happens. >>> Remember to run lilo as root after changing the lilo.conf file. You may >>> have a problem with the frame buffer... >>> >>> John. >> >> i said that linux was hanging, it means that i cannot run lilo. >> >> i could maybe run a linux live like slax, but i don't know how to run >> lilo or anything else as if / was the partition of the linux that is >> not booting on the hard drive. > > Oh duuhhhh. Yeah... You need a rescue disk to boot linux and then fiddle > with lilo.conf. > > Here's what I just worked out... > > 1) boot with your slackware #1 CD, and get to the command line... you > will be root. > > 2) Here is where it may get tricky if you have a 'fancy' partition table. > You will need to mount the partition containing /etc and the partition > containing /usr/bin. We'll assume that you have just one partition > located > on hda1. So cd to /mnt and mkdir root. If you have scsi, then it is > sda1. > > 3) run the command mount /dev/hda1 /mnt/root, and then cd to /mnt/root to > see what you have... Hopefully you will see etc, bin, usr, and so on. > > 4) cd to /mnt/root/etc (or from /mnt/root, just etc) and see what is > there... You should see a lilo.conf file there. If so, then from that > directory run /mnt/root/usr/bin/pico lilo.conf, which should open your > lilo.conf file. If that craps out, > try /mnt/root/usr/bin/pico /mnt/root/etc/lilo.conf. Edit the lilo.conf > file by placing a # on the line that has the current vga setting, and un-# > the line that says vga=ask. If you don't see vga=ask, insert it with the > other vga= lines, but make sure that it is the only uncommented vga= line. > > 5) cd to /mnt and umount root. > > 6) If you have more than one partition, you will need to mount the > partitons containing /etc and /usr/bin so that you can 1) see lilo.conf > and > 3) run pico (or whatever quick and dirty command line editor you like) > > 7) reboot and remove the slackware CD. Hopefully you will get to > the 'select the font' or whatever it says, and after that it will boot. > > HTH. > > John. Oh! and before you reboot, be sure to run lilo to make the changes in lilo.conf effective. Lilo is in /sbin, so that will need to be mounted as well. If you just have one partition, it will be no problem. If not, you will need to mount it. John. |
| |||
| heavytull wrote: > On Apr 22, 10:45 pm, "John K. Herreshoff" <n...@not.here> wrote: >> heavytullwrote: >> > My slackware 11 is hanging at the point "BIOSdata ckeck" just after >> > booting it via lilo. >> >> > It is hapening like that since i changed the booting devices order in >> > theBIOS; >> >> > i just shifted the boot on USD HDD from 5th or farther to third just >> > before the main hardware on which there is the linux partition and >> > windows. >> >> > also note that however is my usb key (plugged in or not) Linux is >> > hanging. >> >> Try this just for fun: in your lilo.conf, set vga=ask and see what >> happens. >> Remember to run lilo as root after changing the lilo.conf file. You may >> have a problem with the frame buffer... >> >> John. > > i said that linux was hanging, it means that i cannot run lilo. > > i could maybe run a linux live like slax, but i don't know how to run > lilo or anything else as if / was the partition of the linux that is > not booting on the hard drive. The existinginstall installation handbook might help here. http://www.gentoo.org/doc/en/handboo...x86.xml?full=1 From what I remember from a gentoo installation I did once a handful of commands will get you into the installed linux on the hard drive. 1. boot from any live cd or the slackware install disk 2. make a directory to mount your hard drive # mkdir /mnt/existinginstall 3. if your programs need info for /proc and /dev # mount -t proc none /mnt/existinginstall/proc # mount -o bind /dev /mnt/existinginstall/dev 4. change root to reflect your installed linux # chroot /mnt/existinginstall /bin/bash -- ed |
| ||||
| John K. Herreshoff wrote: > John K. Herreshoff wrote: > >> heavytull wrote: >> >>> On Apr 22, 10:45 pm, "John K. Herreshoff" <n...@not.here> wrote: >>>> heavytullwrote: >>>> > My slackware 11 is hanging at the point "BIOSdata ckeck" just after >>>> > booting it via lilo. >>>> >>>> > It is hapening like that since i changed the booting devices order in >>>> > theBIOS; >>>> >>>> > i just shifted the boot on USD HDD from 5th or farther to third just >>>> > before the main hardware on which there is the linux partition and >>>> > windows. >>>> >>>> > also note that however is my usb key (plugged in or not) Linux is >>>> > hanging. >>>> >>>> Try this just for fun: in your lilo.conf, set vga=ask and see what >>>> happens. >>>> Remember to run lilo as root after changing the lilo.conf file. You >>>> may have a problem with the frame buffer... >>>> >>>> John. >>> >>> i said that linux was hanging, it means that i cannot run lilo. >>> >>> i could maybe run a linux live like slax, but i don't know how to run >>> lilo or anything else as if / was the partition of the linux that is >>> not booting on the hard drive. >> >> Oh duuhhhh. Yeah... You need a rescue disk to boot linux and then >> fiddle with lilo.conf. >> >> Here's what I just worked out... >> >> 1) boot with your slackware #1 CD, and get to the command line... you >> will be root. >> >> 2) Here is where it may get tricky if you have a 'fancy' partition >> table. You will need to mount the partition containing /etc and the >> partition >> containing /usr/bin. We'll assume that you have just one partition >> located >> on hda1. So cd to /mnt and mkdir root. If you have scsi, then it is >> sda1. >> >> 3) run the command mount /dev/hda1 /mnt/root, and then cd to /mnt/root to >> see what you have... Hopefully you will see etc, bin, usr, and so on. >> >> 4) cd to /mnt/root/etc (or from /mnt/root, just etc) and see what is >> there... You should see a lilo.conf file there. If so, then from that >> directory run /mnt/root/usr/bin/pico lilo.conf, which should open your >> lilo.conf file. If that craps out, >> try /mnt/root/usr/bin/pico /mnt/root/etc/lilo.conf. Edit the lilo.conf >> file by placing a # on the line that has the current vga setting, and >> un-# >> the line that says vga=ask. If you don't see vga=ask, insert it with the >> other vga= lines, but make sure that it is the only uncommented vga= >> line. >> >> 5) cd to /mnt and umount root. >> >> 6) If you have more than one partition, you will need to mount the >> partitons containing /etc and /usr/bin so that you can 1) see lilo.conf >> and >> 3) run pico (or whatever quick and dirty command line editor you like) >> >> 7) reboot and remove the slackware CD. Hopefully you will get to >> the 'select the font' or whatever it says, and after that it will boot. >> >> HTH. >> >> John. > > Oh! and before you reboot, be sure to run lilo to make the changes in > lilo.conf effective. Lilo is in /sbin, so that will need to be mounted as > well. If you just have one partition, it will be no problem. If not, you > will need to mount it. > > John. And as these others are saying or hinting at, you will need to run lilo in a chroot jail... which I just did by running chroot /mnt/root. Heh! If you are on just one partition, that will make things easy for you. John. |