[ale] ATTN ! Jerry Yu Re: LILO warning; device 0x0302 > 1023 cyls, huh ?

Courtney Thomas courtneycthomas at bellsouth.net
Sat Dec 9 16:28:06 EST 2006


An accidentally deleted partition was restored using "gpart".

The previously [see below in previous email] sent description is the exact reported table before the deletion.

The restoration as reported by gpart was correct but according to fdisk... the boundaries are 
not correct and once they are restored, I suspect that all'll be well. Since they can all be mounted
now and the data accessed but booting up is flawed since LILO is unsatisfied, ostensibly
because of the boundary flaws.     

fdisk -l /dev/hda      ----->

Device            Start        End        Blocks            ID        System

hda1               1            4000        2015968         83        Linux Native
hda2               4001      8069        2050776         83         Linux Native
hda3               8070      12069      2016000         83         Linux Native
hda4               12070    16069      2015968          5          Extended
hda5               12070    16069      2015968+       83         Linux Native
hda6               16070    16383        158224+       82         Linux Swap

How are MBs translated into cyls  ?

Thanks again,

Courtney
  ----- Original Message ----- 
  From: Jerry Yu 
  To: Atlanta Linux Enthusiasts 
  Sent: Saturday, December 09, 2006 10:12 AM
  Subject: Re: [ale] ATTN ! Jerry Yu Re: LILO warning;device 0x0302 > 1023 cyls, huh ?


  for one thing, GRUB cares about /boot and usually it is easier to have /boot (128M required)  than to have / under 1024 cylinder.
  could you please 

    a.. elaborate on history of your 'rebuilding' on why & how? 
    b.. make sure you have good backup of the system, before you attempt to manipulate partition table.
    c.. paste your current partition table (fdisk -l /dev/hda)? 



  On 12/9/06, Courtney Thomas <courtneycthomas at bellsouth.net> wrote:
    Jerry,

    Thank you for your reply.

    Why do you recommend GRUB over LILO, please ?

    I did an "fdisk /dev/hda" and have discovered that the
    partition table's boundaries are wrong, i.e. they overlap
    and are wrong sized.

    1 overlaps 2, 
    2 overlaps 3, 
    3 overlaps 5, and 
    5 overlaps 6.
    Also, logical 5 not entirely in 4.

    The original layout [in MB], in which all was well, was:

        Minor    Start        End             Type        Filesys    Size

        /            .031        1968,75        primary    ext2        1968.719
        /boot    1968.75    3971.46        primary    ext2        2002.71
        /var       3971.46    5940.21       primary    ext2        1968.749
        [ext]      5940.211  8063.50       extended                 2123.296
        /misc    5940.242  7908.96       logical      ext2        1968.718
        swap    7908.992  8063.507     logical      linux-swap 154.515

    How can I change MB to cylinders, so that I can change the existing
    configuration back to the original, as above indicated in MB  ?

    I am assuming that after translating the above table to cylinders, that I can
    then alter the existing layout using fdisk, to return the disk to it's original
    pattern, hence reenabling LILO.

    Appreciatively,
    Courtney


      ----- Original Message ----- 
      From: Jerry Yu 
      To: Atlanta Linux Enthusiasts 
      Sent: Friday, December 08, 2006 9:54 PM
      Subject: Re: [ale] LILO warning; device 0x0302 > 1023 cyls, huh ?


      use GRUB if possible.
      if not, (if my memory serves)

        a.. enable LBA for the HD in BIOS and/or inside lilo.conf. 
        b.. Or, make sure / partition is under 1024 cylinder.


      On 12/8/06, Courtney Thomas <courtneycthomas at bellsouth.net> wrote: 
        I'm trying to run lilo on a "rebuilt" HD and the subject message is the
        error I'm getting and hence lilo won't install.

        How do I cure this, please ?

        Thanks once more,

        Courtney

        _______________________________________________ 
        Ale mailing list
        Ale at ale.org
        http://www.ale.org/mailman/listinfo/ale





--------------------------------------------------------------------------


      _______________________________________________
      Ale mailing list
      Ale at ale.org
      http://www.ale.org/mailman/listinfo/ale 


--------------------------------------------------------------------------


      No virus found in this incoming message.
      Checked by AVG Free Edition.
      Version: 7.5.432 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006 12:53 PM




    _______________________________________________
    Ale mailing list
    Ale at ale.org
    http://www.ale.org/mailman/listinfo/ale






------------------------------------------------------------------------------


  _______________________________________________
  Ale mailing list
  Ale at ale.org
  http://www.ale.org/mailman/listinfo/ale


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.5.432 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006 12:53 PM
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list