Loading linux from high cylinder - Setup

This is a discussion on Loading linux from high cylinder - Setup ; Hello, I've been strugling for quite a while now, trying to load linux from a higher cylinder. So far I've been using the /boot partition at the begining of the disk, that way I'm able to load it. I know ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Loading linux from high cylinder

  1. Loading linux from high cylinder

    Hello,

    I've been strugling for quite a while now, trying to load linux from a
    higher cylinder. So far I've been using the /boot partition at the
    begining of the disk, that way I'm able to load it.

    I know that some systems are not able to load from a cylinder greater
    than 1024, but for all I know, my hardware does support loading from a
    higher cylinder. I simple don't know what could be wrong.

    I have a intel D865GLC mobo (it says to support LBA), and my hard disk
    is a Maxtor 6Y120L0 (120GB), I'm using grub as the boot loader and I'm
    running debian 4.0r0 (linux 2.6.18). This is the output of "sfdisk -l":

    Disk /dev/hda: 238216 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+ 307 308- 155200+ 83 Linux
    /dev/hda2 0 - 0 0 0 Empty
    /dev/hda3 0 - 0 0 0 Empty
    /dev/hda4 120021 238215 118195 59570280 5 Extended
    /dev/hda5 120021+ 121958 1938- 976720+ 82 Linux swap / Solaris
    /dev/hda6 121959+ 141334 19376- 9765472+ 83 Linux
    /dev/hda7 141335+ 238215 96881- 48827992+ 83 Linux

    The first partition there is the /boot, the extended partition holds my
    /, /home and swap. If I had /boot on /dev/hda6 (the / partition) I
    wouldn't be able to boot. I've tried doing grub-install with
    "--force-lba", but it didn't help any. When grub started it said it was
    loading stage 1.5 and then it printed "grub loading, please wait",
    normaly it shows the screen for selecting the kernel after that, but
    when my /boot is in /dev/hda6 it just hangs there. Since in the first
    512 bytes there's no such string as "please wait" or "loading" I suppose
    it's able to read something from the disk.

    I thought my partition table wasn't written in a LBA format, but I'm not
    sure there is such thing. Anyhow, this is the first 512 bytes on hda:
    0000000: eb48 90d0 bc00 7cfb 5007 501f fcbe 1b7c .H....|.P.P....|
    0000010: bf1b 0650 57b9 e501 f3a4 cbbe be07 b104 ...PW...........
    0000020: 382c 7c09 7515 83c6 10e2 f5cd 188b 148b 8,|.u...........
    0000030: ee83 c610 4974 1638 2c74 f6be 1007 0302 ....It.8,t......
    0000040: ff01 0020 0100 0000 0002 fa90 90f6 c280 ... ............
    0000050: 7502 b280 ea59 7c00 0031 c08e d88e d0bc u....Y|..1......
    0000060: 0020 fba0 407c 3cff 7402 88c2 52be 7f7d . ..@|<.t...R..}
    0000070: e834 01f6 c280 7454 b441 bbaa 55cd 135a .4....tT.A..U..Z
    0000080: 5272 4981 fb55 aa75 43a0 417c 84c0 7505 RrI..U.uC.A|..u.
    0000090: 83e1 0174 3766 8b4c 10be 057c c644 ff01 ...t7f.L...|.D..
    00000a0: 668b 1e44 7cc7 0410 00c7 4402 0100 6689 f..D|.....D...f.
    00000b0: 5c08 c744 0600 7066 31c0 8944 0466 8944 \..D..pf1..D.f.D
    00000c0: 0cb4 42cd 1372 05bb 0070 eb7d b408 cd13 ..B..r...p.}....
    00000d0: 730a f6c2 800f 84ea 00e9 8d00 be05 7cc6 s.............|.
    00000e0: 44ff 0066 31c0 88f0 4066 8944 0431 d288 D..f1...@f.D.1..
    00000f0: cac1 e202 88e8 88f4 4089 4408 31c0 88d0 ........@.D.1...
    0000100: c0e8 0266 8904 66a1 447c 6631 d266 f734 ...f..f.D|f1.f.4
    0000110: 8854 0a66 31d2 66f7 7404 8854 0b89 440c .T.f1.f.t..T..D.
    0000120: 3b44 087d 3c8a 540d c0e2 068a 4c0a fec1 ;D.}<.T.....L...
    0000130: 08d1 8a6c 0c5a 8a74 0bbb 0070 8ec3 31db ...l.Z.t...p..1.
    0000140: b801 02cd 1372 2a8c c38e 0648 7c60 1eb9 .....r*....H|`..
    0000150: 0001 8edb 31f6 31ff fcf3 a51f 61ff 2642 ....1.1.....a.&B
    0000160: 7cbe 857d e840 00eb 0ebe 8a7d e838 00eb |..}.@.....}.8..
    0000170: 06be 947d e830 00be 997d e82a 00eb fe47 ...}.0...}.*...G
    0000180: 5255 4220 0047 656f 6d00 4861 7264 2044 RUB .Geom.Hard D
    0000190: 6973 6b00 5265 6164 0020 4572 726f 7200 isk.Read. Error.
    00001a0: bb01 00b4 0ecd 10ac 3c00 75f4 c300 0000 ........<.u.....
    00001b0: 0000 0000 0000 0000 8975 8975 0000 0001 .........u.u....
    00001c0: 0100 830f 7f33 3f00 0000 81bc 0400 0000 .....3?.........
    00001d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    00001e0: 0000 0000 0000 0000 0000 0000 0000 000f ................
    00001f0: ffff 050f ffff b006 3607 d0f0 1907 55aa ........6.....U.

  2. Re: Loading linux from high cylinder

    Rafael Almeida wrote:

    > The first partition there is the /boot, the extended partition holds my
    > /, /home and swap. If I had /boot on /dev/hda6 (the / partition) I
    > wouldn't be able to boot. I've tried doing grub-install with
    > "--force-lba", but it didn't help any. When grub started it said it was
    > loading stage 1.5 and then it printed "grub loading, please wait",


    What kernel command line do you have in your grub.conf? Perhaps you
    chose the wrong partition? It should be (hd0,5) for hda6.

    You can also try the grub shell instead of grub-install.
    http://www.gnu.org/software/grub/man...-natively.html

    Regards...
    Michael

+ Reply to Thread