Ask your questions here.
Sun Mar 04, 2012 1:05 am
That is what i did
(as i didn't know any better):
I booted the actual refracta-32 in Virtualbox.
I rsynced the following directories (and files) to the imac, /user/home/Temp:
- /home/user/.[a-zA-Z0-9]*
- /usr/lolal/bin/*
- /etc/gdm/gdm.conf
- /usr/hsare/gdm/themes*
- /usr/share/xfce4/backdrops/*
I ran set-selections, and rsynced both files to the imac too.
I closed Virtualbox and went to the imac.
I ran:
get-selections.
That took a while, i had a keen look. It wanted to remove:
- the kernel ; i said, no, don't do it, even though i said so
- it removed yaboot ; the bootloader
After all was in place, i re-installed yaboot and made sure the kernel is there (it was).
I then mv'ed all the directories from above to where they belong
That was all i did.
The good news:
The imac does still boot, gdm comes with the refracta look and feel, and the desktop comes with the refracta look and feel too. nadir is happy.
The bad news:
Some apps were not installed (gparted and gnu-fdisk for sure)
In the menu a lot is missing. The main problem is that the entries for the refract-tools, administration sub-menu, is missing.
The icons for alsamixer and flashfire are gone. I picked arbitrary ones for now.
duckduckgo was gone from iceweasel. Not sure bout other settings/plugins, but the bookmarks are still there (good !).
Short break, i will then try to use:
- refractasnapshot
and/or:
- live-build
to make a live-CD.
--------------------------
Side question:
I removed my stock user (called the-king-of-kings-mighty-as-is) with the default refract user-name "user".
id's are borked now. I would want the user to have id 1000 and gid 1000 too. I know there is a way, but can't remember.
All in all: a success (building the live will not be that easy...).
Sun Mar 04, 2012 6:37 am
look inside /usr/bin/change-username.
rsync /usr/share/applications/ to get the missing .desktop files for the menu.
look at my notes in the howto section
Sun Mar 04, 2012 3:51 pm
Thanks. sounds easy enough.
Using refractashnapshot did not work yet. It created an iso, all good, but when i try to boot it in qemu:
qemu-img create -f qcow2 debian_powerpc.qcow2 2G
qemu-system-ppc -hda debian_powerpc.qcow2 -boot d -cdrom /media/stick/snapshot1.iso
i get:
Trying CD:,\\:txbi
Trying CD:, \ppc/bootinfo.txt...
No valid state has been set by load or init-program.
Aha
... Wait, what?
reminder for me:
http://www.hermann-uwe.de/blog/testing- ... on-powerpc
Sun Mar 04, 2012 11:41 pm
a simple
lb config
lb build
on the imac builds a binary.iso which boots without any problems in qemu (probably on the imac too, no need to waste a CD).
So in theory it should be possible.
I searched the Web, but didn't find much.
I will use Deans old how-to, unpack it, chroot into it, add a bit and try to put it pack in an iso (iirc that was the step where i failed last time, the genisoimage command).
Mon Mar 05, 2012 2:15 pm
Let me save the links i find here.
It is a pain to find something at all (if the search term contanis live/live-helper, it will show all kinds of live-helper, but not-ppc-related, results).
The remaining question is:
How can i build an iso from the re-squashfs-ed iso/
- Code:
$ ls -1 iso
doc
live
md5sum.txt
yaboot
$ ls -1 iso/live/
filesystem.packages
filesystem.squashfs
initrd.img-2.6.32-5-powerpc
initrd.img-2.6.32-5-powerpc64
vmlinux-2.6.32-5-powerpc
vmlinux-2.6.32-5-powerpc64
$
with:
genisoimagehttp://forums.debian.net/viewtopic.php? ... 45#p301918says:
- Code:
genisoimage -r -T --netatalk -hfs -probe -map hfs.map -part -no-desktop -hfs-bless iso/live/ -hfs-volid Debian-Mint-Installer/PPC -o mini.iso iso
next post in said forum links to:
http://ubuntuforums.org/showthread.php?t=1335735- Code:
which says:
genisoimage -hfs -part -map /home/~/Downloads/hfs.map -no-desktop -hfs-volid "Ubuntu 9.10" -hfs-bless /home/~/custom-ubuntu/install -pad -l -r -J -v -V "Ubuntu 9.10" -o custom-ubuntu-9.10-desktop-powerpc.iso /home/~/custom-ubuntu
and the Debian wiki is as mystic as can be:
http://wiki.debian.org/DebianLive/Howto ... ltiarch%29Create an i386 bootable image.
sh mkisofs -v -v -o output.iso -b i386/installation/floppy/boot-big.fs \
-c boot.catalog -l -J -r -L /cdsources 2>&1 | tee /tmp/mkisofs.log
exit
Note that the appearance of the -v flag twice is required. If you are making a bootable CD for an Open Firmware 3 macppc model, make sure to include -hfs -part in the parameters for mkisofs.
Mon Mar 05, 2012 2:50 pm
I did (according to the ubuntu forum post):
- Code:
wget http://kmuto.jp/svn/d-i/sarge/debian-cd/data/hfs.map
- Code:
genisoimage -hfs -part -map hfs.map -no-desktop -hfs-volid "refracta" -hfs-bless -pad -l -r -J -v -V "refracta" -o refracta-ppc.iso iso/
I assume that i have to investigat what "-hfs-volid "refracta" is supposed to mean, and that it's the source, or one of the sources, of the problem...
Mon Mar 05, 2012 4:42 pm
You probably should remove the -V "refracta".
- Code:
-hfs-volid hfs_volid
Volume name for the HFS partition. This is the name that is
assigned to the disc on a Macintosh and replaces the volid used
with -V.
Tue Mar 06, 2012 3:57 am
fsmithred wrote:look inside /usr/bin/change-username.
i used:
usermod -u 1000 user #user being the username
usermod -g 1000 user #user being the username
but i think one will also have to edit
/etc/passwd
/etc/group
manually:
http://www.linuxquestions.org/questions ... id-328241/----------------
fsmithred wrote:You probably should remove the -V "refracta".
- Code:
-hfs-volid hfs_volid
Volume name for the HFS partition. This is the name that is
assigned to the disc on a Macintosh and replaces the volid used
with -V.
I am desperate. I seem to be very close, but fail to build the final iso with genisoimage. Not sure how to go on (my duckduck foo and patience is at the end). genisoimage is strange enough (i usually just copy and paste), but all thos hfs-mystic makes it worth. bless? huh?