Unix Technical Forum

Reinstalling Slack

This is a discussion on Reinstalling Slack within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I reinstalling Slack on a pc I previously booted using a floppy. Now I want to boot straight ...


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, 06:18 AM
Huub
 
Posts: n/a
Default Reinstalling Slack

Hi,

I reinstalling Slack on a pc I previously booted using a floppy. Now I
want to boot straight from the harddisk, but have a very hard time
getting lilo to show anything else than L 99. Booting with the floppy
still works ok, but after 5 complete reinstallation attempts today
including trying to put lilo in different places and editing lilo.conf
it still doesn't go.

/etc/lilo.conf:

boot = /dev/hdc (/dev/hda is present, but not powered)
image = /boot/vmlinuz
root = /dev/hdc2
label = Linux
read-only

Thanks for any solution or idea

Huub
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 06:18 AM
addam
 
Posts: n/a
Default Re: Reinstalling Slack

Dnia Fri, 18 Feb 2005 20:58:23 +0100, Huub wyrył(a):

try to use: liloconfig

--
higEst truth --> higest joY

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 06:18 AM
Antony Pavlenko
 
Posts: n/a
Default Re: Reinstalling Slack

Huub wrote:

> boot = /dev/hdc (/dev/hda is present, but not powered)
> image = /boot/vmlinuz
> root = /dev/hdc2


Hi.
Are your shure about hdc? May be your bios begin to boot from hdb ?
Did you have some hard drives?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 06:18 AM
Thomas Overgaard
 
Posts: n/a
Default Re: Reinstalling Slack


Huub wrote :

> boot = /dev/hdc (/dev/hda is present, but not powered)


Why this strange setup? Why don't you just remove hda and let your
present hdc be hda? Or why don't you power hda and put the bootloader in
the mbr at hda?
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 06:18 AM
Stanislaw Flatto
 
Posts: n/a
Default Re: Reinstalling Slack



Huub wrote:
> Hi,
>
> I reinstalling Slack on a pc I previously booted using a floppy. Now I
> want to boot straight from the harddisk, but have a very hard time
> getting lilo to show anything else than L 99. Booting with the floppy
> still works ok, but after 5 complete reinstallation attempts today
> including trying to put lilo in different places and editing lilo.conf
> it still doesn't go.
>
> /etc/lilo.conf:
>
> boot = /dev/hdc (/dev/hda is present, but not powered)
> image = /boot/vmlinuz
> root = /dev/hdc2
> label = Linux
> read-only
>
> Thanks for any solution or idea
>
> Huub


Just an idea. Your BIOS is looking for something to pass control to.
Usually it is THE primary master drive and its mbr. Some latter BIOS's
can be instructed to try other drives.
Your diskette has no such constrains and boots correctly.
So either connect hda and let lilo write itself in mbr, or connect hdc
as hda edit lilo.conf and rerun lilo.
When playing with those don't forget to update your booting diskette
scripts so at any change you can still get to your system.

Have fun

Stanislaw
Slack user from Ulladulla

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 06:18 AM
Huub
 
Posts: n/a
Default Re: Reinstalling Slack

addam wrote:
> Dnia Fri, 18 Feb 2005 20:58:23 +0100, Huub wyrył(a):
>
> try to use: liloconfig
>

I did. Same result.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 06:18 AM
Huub
 
Posts: n/a
Default Re: Reinstalling Slack

Antony Pavlenko wrote:
> Huub wrote:
>
>
>>boot = /dev/hdc (/dev/hda is present, but not powered)
>>image = /boot/vmlinuz
>> root = /dev/hdc2

>
>
> Hi.
> Are your shure about hdc? May be your bios begin to boot from hdb ?
> Did you have some hard drives?
>

Yes, I'm sure. The floppy boot points to /dev/hdc as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 06:18 AM
Huub
 
Posts: n/a
Default Re: Reinstalling Slack

Thomas Overgaard wrote:
> Huub wrote :
>
>
>>boot = /dev/hdc (/dev/hda is present, but not powered)

>
>
> Why this strange setup? Why don't you just remove hda and let your
> present hdc be hda? Or why don't you power hda and put the bootloader in
> the mbr at hda?

Because that harddisk actually has FreeBSD installed and is not part of
the Slackware installation. So I shouldn't have called it /dev/hda.
Other pc's with Slack on the third IDE also have either grub or lilo
installed and have no problem booting from harddisk at all.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 06:19 AM
Sean Jodrey
 
Posts: n/a
Default Re: Reinstalling Slack

Huub wrote:

> Thomas Overgaard wrote:
>> Huub wrote :
>>
>>
>>>boot = /dev/hdc (/dev/hda is present, but not powered)

>>
>>
>> Why this strange setup? Why don't you just remove hda and let your
>> present hdc be hda? Or why don't you power hda and put the bootloader in
>> the mbr at hda?

> Because that harddisk actually has FreeBSD installed and is not part of
> the Slackware installation. So I shouldn't have called it /dev/hda.
> Other pc's with Slack on the third IDE also have either grub or lilo
> installed and have no problem booting from harddisk at all.


If FreeBSD resides on your first HDD, you should be able to add it to LILO
as 'other' (much like dual-booting Windows), then install lilo to tbe MBR
of /dev/hda. The FreeBSD drive superblock will boot when selected by LILO.
Worked for me when I had Linux, BSD and Windows installed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 06:19 AM
danube
 
Posts: n/a
Default Re: Reinstalling Slack

On Fri, 18 Feb 2005 20:58:23 +0100, Huub wrote:

> Hi,
>
> I reinstalling Slack on a pc I previously booted using a floppy. Now I
> want to boot straight from the harddisk, but have a very hard time getting
> lilo to show anything else than L 99. Booting with the floppy still works
> ok, but after 5 complete reinstallation attempts today including trying to
> put lilo in different places and editing lilo.conf it still doesn't go.
>
> /etc/lilo.conf:
>
> boot = /dev/hdc (/dev/hda is present, but not powered) image =
> /boot/vmlinuz
> root = /dev/hdc2
> label = Linux
> read-only
>
> Thanks for any solution or idea
>
> Huub


You did type lilo after your modifications, didn'g you?

JB
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 05:49 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