[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to boot the kernel using a blocklist?
From: |
chaac |
Subject: |
Re: How to boot the kernel using a blocklist? |
Date: |
Fri, 28 Jun 2002 19:55:47 +0300 |
28.6.2002 19:47:34, Peter Keel <address@hidden> wrote:
>Once again... I tried to boot from my disk using a blocklist. Does this
>work like this?:
>
>debugfs: stat vmlinuz-2.4.18
>[...]
>BLOCKS: (0-11):66038-66049, (IND):66050, (12-278):66051-66317
>TOTAL: 280
>
>And then using "kernel (hd0,0)66038+280,4096" to boot it? Or do I have
>to use: "kernel (hd0,0)528304+2240,512" instead? Note however that
>both of these didn't seem to work, so what's wrong with that?
I am not a pro at this (never used this method) but according to grub
documentation:
--- clip ---
How to specify block lists
A block list is used for specifying a file that doesn't appear in the
filesystem, like a chainloader. The syntax is
[offset]+length[,[offset]+length].... Here is an example:
0+100,200+1,300+300
This represents that GRUB should read blocks 0 through 99, block 200, and
blocks 300 through 599. If you omit an offset, then GRUB assumes the offset is
zero.
--- clip ---
so would it be something like this ?
kernel (hd0,0)66038+12,66051+267
just a guess..