[prev in list] [next in list] [prev in thread] [next in thread]
List: grub-help
Subject: Q: embed stage 1.5 to specific sectors (unmapped hole) on a device?
From: Michael Evans <mjevans1983 () gmail ! com>
Date: 2009-07-07 8:33:47
Message-ID: 4877c76c0907070133p4ff4y304aa6ef3a9f4c53 () mail ! gmail ! com
[Download RAW message or body]
I want to install stage 1.5 in to sectors 34 up to 127, I've tried the
following without success.
grub> setup (hd0)34+93
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /grub/e2fs_stage1_5 (hd0,4)"... failed (this is not fatal)
Running "install /grub/stage1 (hd0) /grub/stage2 p /grub/menu.lst "...
succeeded
Done.
grub> embed /grub/e2fs_stage1_5 (hd0)34+93
Error 34: No spare sectors on the disk
grub> embed /grub/e2fs_stage1_5 (hd0)+34
Error 34: No spare sectors on the disk
Here is the relevant printout from parted for the device
Partition Table: gpt
Number Start End Size File system Name Flags
1 128s 133247s 133120s
I know that sector 33 is the last used sector in the gpt label, I know that
128 is the first used sector in my boot partition. Thus, there is a hole
available that I'd like to be able to use without referencing as a
partition.
How do I tell grub to do what I know is technically possible? Or do I
really have to add a partition entry just for stage 1.5?
[Attachment #3 (text/html)]
I want to install stage 1.5 in to sectors 34 up to 127, I've tried the =
following without success.<br><br>grub> setup (hd0)34+93<br>=A0Checking =
if "/boot/grub/stage1" exists... no<br>=A0Checking if "/grub=
/stage1" exists... yes<br>
=A0Checking if "/grub/stage2" exists... yes<br>=A0Checking if &qu=
ot;/grub/e2fs_stage1_5" exists... yes<br>=A0Running "embed /grub/=
e2fs_stage1_5 (hd0)"... failed (this is not fatal)<br>=A0Running "=
;embed /grub/e2fs_stage1_5 (hd0,4)"... failed (this is not fatal)<br>
=A0Running "install /grub/stage1 (hd0) /grub/stage2 p /grub/menu.lst &=
quot;... succeeded<br>Done.<br><br>grub> embed /grub/e2fs_stage1_5 (hd0)=
34+93<br><br>Error 34: No spare sectors on the disk<br><br>grub> embed /=
grub/e2fs_stage1_5 (hd0)+34<br>
<br>Error 34: No spare sectors on the disk<br><br>Here is the relevant prin=
tout from parted for the device<br>Partition Table: gpt<br><br>Number=A0 St=
art=A0=A0=A0=A0=A0=A0 End=A0=A0=A0=A0=A0=A0=A0=A0=A0 Size=A0=A0=A0=A0=A0=A0=
=A0 File system=A0 Name=A0 Flags<br>=A01=A0=A0=A0=A0=A0 128s=A0=A0=A0=A0=A0=
=A0=A0 133247s=A0=A0=A0=A0=A0 133120s<br>
<br>I know that sector 33 is the last used sector in the gpt label, I know =
that 128 is the first used sector in my boot partition.=A0 Thus, there is a=
hole available that I'd like to be able to use without referencing as =
a partition.<br>
<br>How do I tell grub to do what I know is technically possible?=A0 Or do =
I really have to add a partition entry just for stage 1.5?<br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic