Re: HD partition not ending on a cylinder boundary
- From: Scott Hemphill <hemphill@xxxxxxxxxxxxx>
- Date: Thu, 06 Mar 2008 07:41:39 -0500
Haines Brown <brownh@xxxxxxxxxxxxxxxxxxxxxxx> writes:
Scott Hemphill <hemphill@xxxxxxxxxxxxx> writes:
Haines Brown <brownh@xxxxxxxxxxxxxxxxxxxxxxx> writes:
[snip]
I find that "boot-fll" is a shortcut to indicate that the boot should be
from an .iso file. The cheatcode "fromhd=.." means that CD-Roms are
ignored so you can boot with the original cdrom (I don't understand
this). I gather that normal usage points to a device such as
/dev/sda1. Here it is instead using a HD UUID, and I wonder where it got
that ID and whether it is the ID of the USB-stick or the drive from
which the stick was created. In any case, I could add a stanza to the
menu.ist on the stick that omits it. The lang=us is a default example,
and so I preserved it, and I added the /fromiso before I realized that
fromiso was being put into the stanza automatically.
Where is the documentation for all this?
No documentation. That is the stanza that showed up. However, it said
something about editing the menu.lst, which I only took to mean change
the example partition number to my actual root partition number.
What I mean by documentation is: what are the web pages that led you
to your conclusions? What do you mean by "the stanza that showed up"?
What software did you use to create the menu.lst in the first place?
You mentioned earlier that you followed "sidux directions". Where are
they? Why did you add "/fromiso"? The slash on the beginning would
make it not work. Also, by not having a space between it and the lang
code, it became part of the lang code: "lang=us/fromiso".
But let me inject the bottom line: I fiddled with menu.list and got it
to work. I installed sidux without difficulty. Here's the menu.lst that
worked for me:
##ISO boot primitive experiment. No fromhd or lang
title sidux (fromISO + fromUSB)
root (hd0,0)
kernel /boot/vmlinuz-2.6.23.12-slh-smp-2 boot=fll fromiso nointro \
quiet vga=791
initrd /boot/initrd.img-2.6.23.12-slh-smp-2
I'm glad you got it working!
As far as "boot=fll" goes, it
is present on the installation CD-ROM also. As far as I can tell,
"fromhd" no longer exists as an option. And "put into the stanza
automatically" by what?
Sorry to not be clearer. After mounting the iso image and copying the
vmlinuz and initrd.img files from the mounted iso image to
the directory (where X for the kernel and HD are known variables), it
says:
Next you have to customise grub. Therefore edit the file
/boot/grub/menu.lst and add the following lines AFTER the ### END DEBIAN
AUTOMAGIC KERNELS LIST: NOTE no wildcards on grub line for filenames
allowed!
### ISO boot
title sidux 32bit from ISO
kernel (hd0,4)/sidux/vmlinuz-2.6.23.9-rc1-slh-smp-1 boot=fll quiet \
vga=791 fromiso=/sidux/sidux.iso
initrd (hd0,4)/sidux/initrd.img-2.6.23.9-rc1-slh-smp-1
With next boot you have a new menu item in grub to start the iso image.
You still didn't answer my question. You used the phrase "put into
the stanza automatically" but never mentioned the software that could
have done this. Also, you didn't follow these instructions. If you
had, you would have had a "fromiso=/sidux.iso" in your stanza, and you
wouldn't have had a "lang" code or a "fromhd" code.
I changed to the proper partition (hd0,0), file names
(...2.6.23.12-slh-smp-2), but it didn't work, and so I added:
root (hd0,0)
and it booted. But it failed to reboot. Somehow the fromhd= line got in
there; it wasn't in the directions.
http://manual.sidux.com/en/cheatcodes-en.htm
http://sidux.com/PNphpBB2-viewtopic-t-3966-start-15.html
Also, your "fromiso" option is not valid because it doesn't say where the
iso image is. You should use "fromiso=/sidux.iso".
Yes, but again, the orphased fromiso was in the original menu.lst, and I
didn't give it much thought until later. Interesting that it is still
there by itself, but apprently does not stop the USB-stick from booting.
Apparently a "fromiso" without a path causes the kernel to search for
an .iso file. I don't know what the parameters on the search are, but
having a file named "sidux.iso" in the root directory makes it
succeed.
Scott
--
Scott Hemphill hemphill@xxxxxxxxxxxxxxxxxx
"This isn't flying. This is falling, with style." -- Buzz Lightyear
.
- References:
- HD partition not ending on a cylinder boundary
- From: Haines Brown
- Re: HD partition not ending on a cylinder boundary
- From: Aragorn
- Re: HD partition not ending on a cylinder boundary
- From: Haines Brown
- Re: HD partition not ending on a cylinder boundary
- From: Haines Brown
- Re: HD partition not ending on a cylinder boundary
- From: Scott Hemphill
- Re: HD partition not ending on a cylinder boundary
- From: Haines Brown
- Re: HD partition not ending on a cylinder boundary
- From: Scott Hemphill
- Re: HD partition not ending on a cylinder boundary
- From: Haines Brown
- Re: HD partition not ending on a cylinder boundary
- From: Scott Hemphill
- Re: HD partition not ending on a cylinder boundary
- From: Haines Brown
- HD partition not ending on a cylinder boundary
- Prev by Date: Re: HD partition not ending on a cylinder boundary
- Next by Date: Re: HD partition not ending on a cylinder boundary
- Previous by thread: Re: HD partition not ending on a cylinder boundary
- Next by thread: Re: HD partition not ending on a cylinder boundary
- Index(es):
Relevant Pages
|
Loading