linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: LILO probs
       [not found] <200210070802.g9782vON007305@habitrail.home.fools-errant.com>
@ 2002-10-07  8:12 ` Roy Sigurd Karlsbakk
  2002-10-07  8:26   ` Hacksaw
  0 siblings, 1 reply; 7+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-10-07  8:12 UTC (permalink / raw)
  To: Hacksaw; +Cc: Kernel mailing list

On Monday 07 October 2002 10:02, Hacksaw wrote:
> That partition table does not look normal to me. What was it produced with?

linux fdisk ... or ... no - it was the redhat installation. point is - the 
disk was first installed in an old P90 whose BIOS found the disk as a 
1024/16/63 (504 meg) disk, but linux overrode that, allowing me to use the 
whole disk. I settled with boot from floppy, but I can't use that now.

roy
-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LILO probs
  2002-10-07  8:12 ` LILO probs Roy Sigurd Karlsbakk
@ 2002-10-07  8:26   ` Hacksaw
  2002-10-07  8:57     ` Roy Sigurd Karlsbakk
  2002-10-07 14:16     ` LILO probs Denis Vlasenko
  0 siblings, 2 replies; 7+ messages in thread
From: Hacksaw @ 2002-10-07  8:26 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: linux-kernel

> > Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
> >
> > Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
> >  1 80   1   1    0  15  63  609       63   614817 83
> >  2 00   0   1  610  15  63 1023   614880 10486224 83
> >  3 00  15  63 1023  15  63 1023 11101104  4194288 83
> >  4 00  15  63 1023  15  63 1023 15295392 23806944 0f
> >  5 00  15  63 1023  15  63 1023       63  2097585 83
> >  6 00  15  63 1023  15  63 1023       63  1048257 83
> >  7 00  15  63 1023  15  63 1023       63  1048257 82
> >  8 00  15  63 1023  15  63 1023       63 19612593 83

It's a very confusing table, but more importantly it seems to imply that 
/dev/hda{5,6,7,8} all start at cylinder 63, and end in a variety of places.

If this is an accurate representation of the partition table on this disk, I 
would suggest you recover what you can from it, and start over.

Better would be to have a look at the partition table with something that can 
fix it, like fdisk, sfdisk or parted. Example:

sfdisk -l /dev/hda


-- 
If in doubt, consult tradition.
If still in doubt, consult your experience.
If still in doubt, consult your body.
http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LILO probs
  2002-10-07  8:26   ` Hacksaw
@ 2002-10-07  8:57     ` Roy Sigurd Karlsbakk
  2002-10-07 10:44       ` jbradford
  2002-10-07 14:16     ` LILO probs Denis Vlasenko
  1 sibling, 1 reply; 7+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-10-07  8:57 UTC (permalink / raw)
  To: Hacksaw; +Cc: linux-kernel

On Monday 07 October 2002 10:26, Hacksaw wrote:
> > > Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
> > >
> > > Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
> > >  1 80   1   1    0  15  63  609       63   614817 83
> > >  2 00   0   1  610  15  63 1023   614880 10486224 83
> > >  3 00  15  63 1023  15  63 1023 11101104  4194288 83
> > >  4 00  15  63 1023  15  63 1023 15295392 23806944 0f
> > >  5 00  15  63 1023  15  63 1023       63  2097585 83
> > >  6 00  15  63 1023  15  63 1023       63  1048257 83
> > >  7 00  15  63 1023  15  63 1023       63  1048257 82
> > >  8 00  15  63 1023  15  63 1023       63 19612593 83
>
> It's a very confusing table, but more importantly it seems to imply that
> /dev/hda{5,6,7,8} all start at cylinder 63, and end in a variety of places.
>
> If this is an accurate representation of the partition table on this disk,
> I would suggest you recover what you can from it, and start over.
>
> Better would be to have a look at the partition table with something that
> can fix it, like fdisk, sfdisk or parted. Example:
>
> sfdisk -l /dev/hda

hm

root@pbx /usr/src/asterisk># sfdisk -l /dev/hda

Disk /dev/hda: 38792 cylinders, 16 heads, 63 sectors/track
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls   #blocks   Id  System
/dev/hda1   *      0+    609     610-   307408+  83  Linux
/dev/hda2        610   11012   10403   5243112   83  Linux
/dev/hda3      11013   15173    4161   2097144   83  Linux
/dev/hda4      15174   38791   23618  11903472    f  Win95 Ext'd (LBA)
/dev/hda5      15174+  17254    2081-  1048792+  83  Linux
/dev/hda6      17255+  18294    1040-   524128+  83  Linux
/dev/hda7      18295+  19334    1040-   524128+  82  Linux swap
/dev/hda8      19335+  38791   19457-  9806296+  83  Linux

just lists the table

but - it works, but I need to boot off a floppy, and I really don't want to 
start over reinstalling this.

any ideas how I can make LILO/GRUB work with this?

roy
-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LILO probs
  2002-10-07  8:57     ` Roy Sigurd Karlsbakk
@ 2002-10-07 10:44       ` jbradford
  2002-10-07 11:28         ` LILO probs (SOLVED) Roy Sigurd Karlsbakk
  0 siblings, 1 reply; 7+ messages in thread
From: jbradford @ 2002-10-07 10:44 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: linux-kernel

> > > > Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
> > > >
> > > > Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
> > > >  1 80   1   1    0  15  63  609       63   614817 83
> > > >  2 00   0   1  610  15  63 1023   614880 10486224 83
> > > >  3 00  15  63 1023  15  63 1023 11101104  4194288 83
> > > >  4 00  15  63 1023  15  63 1023 15295392 23806944 0f
> > > >  5 00  15  63 1023  15  63 1023       63  2097585 83
> > > >  6 00  15  63 1023  15  63 1023       63  1048257 83
> > > >  7 00  15  63 1023  15  63 1023       63  1048257 82
> > > >  8 00  15  63 1023  15  63 1023       63 19612593 83
> >
> > It's a very confusing table, but more importantly it seems to imply that
> > /dev/hda{5,6,7,8} all start at cylinder 63, and end in a variety of places.
> >
> > If this is an accurate representation of the partition table on this disk,
> > I would suggest you recover what you can from it, and start over.
> >
> > Better would be to have a look at the partition table with something that
> > can fix it, like fdisk, sfdisk or parted. Example:
> >
> > sfdisk -l /dev/hda
> 
> hm
> 
> root@pbx /usr/src/asterisk># sfdisk -l /dev/hda
> 
> Disk /dev/hda: 38792 cylinders, 16 heads, 63 sectors/track
> Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
> 
>    Device Boot Start     End   #cyls   #blocks   Id  System
> /dev/hda1   *      0+    609     610-   307408+  83  Linux
> /dev/hda2        610   11012   10403   5243112   83  Linux
> /dev/hda3      11013   15173    4161   2097144   83  Linux
> /dev/hda4      15174   38791   23618  11903472    f  Win95 Ext'd (LBA)
> /dev/hda5      15174+  17254    2081-  1048792+  83  Linux
> /dev/hda6      17255+  18294    1040-   524128+  83  Linux
> /dev/hda7      18295+  19334    1040-   524128+  82  Linux swap
> /dev/hda8      19335+  38791   19457-  9806296+  83  Linux
> 
> just lists the table
> 
> but - it works, but I need to boot off a floppy, and I really don't want to 
> start over reinstalling this.
> 
> any ideas how I can make LILO/GRUB work with this?

When you say, 'boot off a floppy', what do you mean:

1. Boot a raw kernel image from a floppy

or

2. Boot a floppy containing LILO/GRUB?

If you mean 1, you are accessing the hard disk with the BIOS.

If you mean 2, you are never accessing the hard disk with the BIOS.

John.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LILO probs (SOLVED)
  2002-10-07 10:44       ` jbradford
@ 2002-10-07 11:28         ` Roy Sigurd Karlsbakk
  0 siblings, 0 replies; 7+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-10-07 11:28 UTC (permalink / raw)
  To: jbradford; +Cc: linux-kernel

Hi

I hardcoded the actual disk geometry along with disk=0x80 in lilo.conf, and 
now it works ;-)

roy

On Monday 07 October 2002 12:44, jbradford@dial.pipex.com wrote:
> > > > > Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
> > > > >
> > > > > Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
> > > > >  1 80   1   1    0  15  63  609       63   614817 83
> > > > >  2 00   0   1  610  15  63 1023   614880 10486224 83
> > > > >  3 00  15  63 1023  15  63 1023 11101104  4194288 83
> > > > >  4 00  15  63 1023  15  63 1023 15295392 23806944 0f
> > > > >  5 00  15  63 1023  15  63 1023       63  2097585 83
> > > > >  6 00  15  63 1023  15  63 1023       63  1048257 83
> > > > >  7 00  15  63 1023  15  63 1023       63  1048257 82
> > > > >  8 00  15  63 1023  15  63 1023       63 19612593 83
> > >
> > > It's a very confusing table, but more importantly it seems to imply
> > > that /dev/hda{5,6,7,8} all start at cylinder 63, and end in a variety
> > > of places.
> > >
> > > If this is an accurate representation of the partition table on this
> > > disk, I would suggest you recover what you can from it, and start over.
> > >
> > > Better would be to have a look at the partition table with something
> > > that can fix it, like fdisk, sfdisk or parted. Example:
> > >
> > > sfdisk -l /dev/hda
> >
> > hm
> >
> > root@pbx /usr/src/asterisk># sfdisk -l /dev/hda
> >
> > Disk /dev/hda: 38792 cylinders, 16 heads, 63 sectors/track
> > Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
> >
> >    Device Boot Start     End   #cyls   #blocks   Id  System
> > /dev/hda1   *      0+    609     610-   307408+  83  Linux
> > /dev/hda2        610   11012   10403   5243112   83  Linux
> > /dev/hda3      11013   15173    4161   2097144   83  Linux
> > /dev/hda4      15174   38791   23618  11903472    f  Win95 Ext'd (LBA)
> > /dev/hda5      15174+  17254    2081-  1048792+  83  Linux
> > /dev/hda6      17255+  18294    1040-   524128+  83  Linux
> > /dev/hda7      18295+  19334    1040-   524128+  82  Linux swap
> > /dev/hda8      19335+  38791   19457-  9806296+  83  Linux
> >
> > just lists the table
> >
> > but - it works, but I need to boot off a floppy, and I really don't want
> > to start over reinstalling this.
> >
> > any ideas how I can make LILO/GRUB work with this?
>
> When you say, 'boot off a floppy', what do you mean:
>
> 1. Boot a raw kernel image from a floppy
>
> or
>
> 2. Boot a floppy containing LILO/GRUB?
>
> If you mean 1, you are accessing the hard disk with the BIOS.
>
> If you mean 2, you are never accessing the hard disk with the BIOS.
>
> John.

-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LILO probs
  2002-10-07  8:26   ` Hacksaw
  2002-10-07  8:57     ` Roy Sigurd Karlsbakk
@ 2002-10-07 14:16     ` Denis Vlasenko
  1 sibling, 0 replies; 7+ messages in thread
From: Denis Vlasenko @ 2002-10-07 14:16 UTC (permalink / raw)
  To: Hacksaw, Roy Sigurd Karlsbakk; +Cc: linux-kernel

On 7 October 2002 06:26, Hacksaw wrote:
> > > Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
> > >
> > > Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
> > >  1 80   1   1    0  15  63  609       63   614817 83
> > >  2 00   0   1  610  15  63 1023   614880 10486224 83
> > >  3 00  15  63 1023  15  63 1023 11101104  4194288 83
> > >  4 00  15  63 1023  15  63 1023 15295392 23806944 0f
> > >  5 00  15  63 1023  15  63 1023       63  2097585 83
> > >  6 00  15  63 1023  15  63 1023       63  1048257 83
> > >  7 00  15  63 1023  15  63 1023       63  1048257 82
> > >  8 00  15  63 1023  15  63 1023       63 19612593 83
>
> It's a very confusing table, but more importantly it seems to imply
> that /dev/hda{5,6,7,8} all start at cylinder 63, and end in a variety
> of places.

It's a sector offset, not a cylinder.
Also extended partition method of storing offsets is 'interesting' :-(
--
vda

^ permalink raw reply	[flat|nested] 7+ messages in thread

* LILO probs
       [not found] ` <02100623372401.00238@7ixe4>
@ 2002-10-07  7:48   ` Roy Sigurd Karlsbakk
  0 siblings, 0 replies; 7+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-10-07  7:48 UTC (permalink / raw)
  To: Rene Herman; +Cc: Kernel mailing list

Please see below.
Rene (below) have tried to help me out here, but I still can't boot. / is on 
hda5 and /boot is on hda1.

Any suggestions?

thanks

roy

On Sunday 06 October 2002 23:37, Rene Herman wrote:
> On Sunday 06 October 2002 21:59, you wrot
>
> > Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
> >
> > Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
> >  1 80   1   1    0  15  63  609       63   614817 83
> >  2 00   0   1  610  15  63 1023   614880 10486224 83
> >  3 00  15  63 1023  15  63 1023 11101104  4194288 83
> >  4 00  15  63 1023  15  63 1023 15295392 23806944 0f
> >  5 00  15  63 1023  15  63 1023       63  2097585 83
> >  6 00  15  63 1023  15  63 1023       63  1048257 83
> >  7 00  15  63 1023  15  63 1023       63  1048257 82
> >  8 00  15  63 1023  15  63 1023       63 19612593 83
>
> Looks perfectly normal. That "1023" is simply because the cylinder field is
> held in a 10-bit field, giving the famous 1024 cylinder-limit. With LBA
> addressing all partitions are created like this.
>
> I can see absolutely no reason why things wouldn't work. If you use lba32,
> you should be able to have /boot anywhere on the disk. /dev/hda1 falls
> completely within the 1024 limit, so if you put /boot there, you should
> even be able to boot *without* lba32. Example minimal /etc/lilo.conf:
>
> ===
> boot=/dev/hda
> lba32
> prompt
>
> image=/boot/vmlinuz
> 	root=/dev/root
> 	label=linux
> ===
>
> You do have boot=/dev/hda don't you? Not /dev/hda1 or something silly like
> that?
>
> Rene.

-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-10-07 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200210070802.g9782vON007305@habitrail.home.fools-errant.com>
2002-10-07  8:12 ` LILO probs Roy Sigurd Karlsbakk
2002-10-07  8:26   ` Hacksaw
2002-10-07  8:57     ` Roy Sigurd Karlsbakk
2002-10-07 10:44       ` jbradford
2002-10-07 11:28         ` LILO probs (SOLVED) Roy Sigurd Karlsbakk
2002-10-07 14:16     ` LILO probs Denis Vlasenko
     [not found] <200210062159.18958.roy@karlsbakk.net>
     [not found] ` <02100623372401.00238@7ixe4>
2002-10-07  7:48   ` Roy Sigurd Karlsbakk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).