Can this be done? Are there any instructions on it?
William
William
> Can this be done? Are there any instructions on it?
1- Create a Apple_UNIX_SVR2 partition using pdisk. It should be big
enough, 110M minimum, the bigger the better. Let's say it is /dev/hda9.
You can do this with pdisk under MacOS or from inside linuxppc-live.
2- Start linuxppc-live.
3- Format and mount your new linux partition:
mke2fs /dev/hda9
mkdir /newroot
mount /dev/hda9 /newroot
4- Copy everything over:
cp -a /live/* /newroot
(There might be a shortcut for 3 and 4:
dd if=/test/LinuxPPC/live.filesystem of=/dev/hda9
Not sure if this works, though)
5- Copy your ramdisk.image:
gunzip < /test/LinuxPPC/ramdisk.image.gz > /newroot/ramdisk.image
6- Change the startup script in the ramdisk image to take the new
setting into account:
mkdir /mnt/rdi
mount -o loop /newroot/ramdisk.image /mnt/rdi
Then edit the file /mnt/rdi/root/bin/boot.live.pl so that it mounts
the new partition: Replace the lines
system( "mount -o loop=/dev/loop0 $files/live.filesystem /live/" );
etc by something like
system( "mount /dev/hda9 /live/" );
You can also comment out the first lines that seek the
live.filesystem.
7- Compress the ramdisk.image:
gzip /newroot/ramdisk.image
and copy /newroot/ramdisk.image.gz to your MacOS system folder. This
might be tricky, you can use LinuxDisks from the Mac side or mount a Mac
partition via
mount -t hfs /dev/hda5 /mnt/something
and cp it there. If your live.filesystem lives on the HD, then you
have already the corresponding partition under /test, and you can just
copy it there.
Then after rebooting in MacOS, you move it to the system folder or to
the folder where the BootX app lives (assuming that it lives on the HD).
8- Cross your fingers, say a prayer, reboot and start BootX.
9- If it works, start thinking about how to change the init scripts so
that you get a standard LinuxPPC-RedHat boot sequence. Shouldn't be
difficult.
--
Martin
1. restore mksysb with jfs2 filesystem to jfs filesystem
hi,
does anybody can tell me how to restore a mksysb tape of a rootvg
containing jfs2 filesystems to an other server, an tell the restore
procedure to restore with jfs filesystems ?
regards
jmb
3. Copy whole filesystem to another filesystem over network
4. 2.5.31 qlogic error "this should not happen"
5. How can I separate root filesystem and /usr filesystem
6. Great shirt!
7. CacheFS: front filesystem vs. cached filesystem (what's the difference?)
8. reading solaris DAT tar under linux
9. A filesystem within a filesystem?
10. BUG: S8 hsfs filesystem cannot read filesystems >4GB
11. Mounting PC's filesystem as UNIX filesystem with NFS
12. filesystem is clean, or filesystem is logging?
13. reducing filesystem minfree on big filesystems