how to pass kernel command line arguments?
All
Okay I shall be more specific, how do I pass kernel command line arguments (say for example a video=whatever) to the kernel when booting the kernel on the hfs floppy disk image that comes with debian potato. Does anyone know?
The debian install manual does not mnention what mechanism the floppy uses to boot, however it is a normal mac like
[21:40:04] 5 innuendo root /mnt/floppy>ls -la
total 1203
drwx--x--x 4 root root 9 Nov 8 21:17 ./ drwxr-xr-x 4 root root 1024 Oct 9 1998 ../ dr-x--x--x 2 root root 9 Nov 8 21:17 .finderinfo/ dr-x--x--x 2 root root 9 Nov 8 21:17 .resource/ -rw------- 1 root root 300 Nov 8 21:17 .rootinfo -rwx--x--x 1 root root 0 Jul 25 11:45 Finder* -rwx--x--x 1 root root 0 Apr 7 2000 System* -rwx--x--x 1 root root 268171 Jul 25 11:52 System.map* -rwx--x--x 1 root root 961719 Nov 8 21:17 zImage*
I suspect the .rootinfo may have something to do with the bootup for linux, though not sure and I dont know where to find docs on this stuff either.
Thanks
See You
Steve
--
[email protected] http://wibble.net/~sjh/
Look Up In The Sky
Is it a bird? No
Is it a plane? No
Is it a small blue banana?
YES
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Steven Hanley
All
Okay I shall be more specific, how do I pass kernel command line arguments (say for example a video=whatever) to the kernel when booting the kernel on the hfs floppy disk image that comes with debian potato. Does anyone know?
hexeditor /mnt/floppy/.resource/System
there is a resource in there somewhere that has the kernel arguments, ive heard its not too hard to find and edit in a hex editor. unfortunatly miboot really badly needs a text based configuration file...
Quoted 2 lines
I suspect the .rootinfo may have something to do with the bootup for linux, though not sure and I dont know where to find docs on this stuff either.
no .rootinfo is a hfs thing, don't mess with it, all you would likely end up doing is trashing the filesystem.
if you have access to macos and resedit/resourcerer you might find those simpler to edit the System file. (beware that MacOS may make the floppy unbootable if you mount it read-write on macos. (ive heard its more forgiving of floppies then disk partitions though, ymmv as usual))
Signature · 2 lines
Ethan Benson http://www.alaska.net/~erbenson/