Unix Technical Forum

slack hang at BIOS data check

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:45 PM
heavytull
 
Posts: n/a
Default slack hang at BIOS data check

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:45 PM
John K. Herreshoff
 
Posts: n/a
Default Re: slack hang at BIOS data check

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:46 PM
heavytull
 
Posts: n/a
Default Re: slack hang at BIOS data check

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:46 PM
Sylvain Robitaille
 
Posts: n/a
Default Re: slack hang at BIOS data check

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
----------------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:46 PM
Dan C
 
Posts: n/a
Default Re: slack hang at BIOS data check

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".

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:46 PM
Michael Black
 
Posts: n/a
Default Re: slack hang at BIOS data check

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:46 PM
John K. Herreshoff
 
Posts: n/a
Default Re: slack hang at BIOS data check

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 09:46 PM
John K. Herreshoff
 
Posts: n/a
Default Re: slack hang at BIOS data check

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 09:46 PM
Ed Wilson
 
Posts: n/a
Default Re: slack hang at BIOS data check

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 09:46 PM
John K. Herreshoff
 
Posts: n/a
Default Re: slack hang at BIOS data check

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com