Page 1 of 15
ubuntu MATE 16.04.1 Live DVD
Posted: Thu Sep 01, 2016 9:21 pm
by xeno74
Hi All,
I figured out that our X1000 boots with the
ubuntu MATE 16.04.1 Live DVD.
Unfortunately we need a
xorg.conf with a configured
fbdev on the Live DVD. Without a xorg.conf, the MATE desktop doesn't start and we can't switch to a shell.
The question was, how can I boot the Live DVD and copy a xorg.conf to /etc/X11?. The
text boot argument doesn't work but I solved this problem with the following commands:
-
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd
-
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk boot=casper single“
-
Code: Select all
CFE> boot -elf -noints -fatfs cf0:vmlinux-4.7
- Press Enter for maintenance
-
-
-
Code: Select all
wget http://www.xenosoft.de/X.org.conf.zip
-
-
Code: Select all
cp xorg.conf.radeon /etc/X11/xorg.conf
-
I replaced radeon with fbdev
-
The desktop works from the Live DVD but unfortunately the installer (ubiquity) crashes.
How can I integrate the xorg.conf on the Live DVD?
Thanks,
Christian
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Fri Sep 02, 2016 8:04 am
by xeno74
Hi All,
I tried to boot the Live DVD with the framebuffer driver without copying the xorg.conf.
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper video=offb:off nomodeset video=radeonfb:1600x1200-32@60"
Code: Select all
CFE> boot -elf -noints -fatfs cf0:vmlinux-4.7
I saw the boot messages but unfortunately Xorg doesn't work either.
Cheers,
Christian
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Fri Sep 02, 2016 9:02 am
by xeno74
Hi All,
More success!
I figured out, that we don't need
mount -o rw,remount / because the file system is already
rw. With
init 5 I was able to continue the default start of the Live DVD. The default ubuntu MATE live desktop works now but unfortunately the installer
ubiquity crashed.
-
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd
-
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper single"
-
Code: Select all
CFE> boot -elf -noints -fatfs cf0:vmlinux-4.7
- Press Enter for maintenance
-
-
Code: Select all
wget http://www.xenosoft.de/X.org.conf.zip
-
-
Code: Select all
cp xorg.conf.radeon /etc/X11/xorg.conf
-
I replaced radeon with fbdev
-
Error message of ubiquity:
Code: Select all
ubiquity crashed with IndexError in free_space(): list index out of range.
I was able to install some packages for example
hardinfo. On the screenshot you can see the crash log of ubiquity.
Cheers,
Christian
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Fri Sep 02, 2016 10:44 am
by xeno74
Hi All,
I installed ubiquity on my ubuntu MATE 16.04.1 LTS today. Unfortunately the same problem. That means the Live DVD isn't the problem. Ubiquity doesn't work. We didn't recognise that because we copied via "dd" Julian's images to our hard disks. Therefore we didn't need the ubiquity installer.
Cheers,
Christian
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Fri Sep 02, 2016 2:20 pm
by xeno74
Hi All,
I was able to integrate the xorg.conf to the Live DVD with the following commands:
-
-
Code: Select all
mv ubuntu-mate-16.04.1-desktop-powerpc.iso /home/christian/livecdtmp/
-
-
-
Code: Select all
sudo mount -o loop ubuntu-mate-16.04.1-desktop-powerpc.iso mnt
-
-
Code: Select all
sudo rsync --exclude=/casper/filesystem.squashfs -a mnt/ extract-cd
-
Code: Select all
sudo unsquashfs mnt/casper/filesystem.squashfs
-
-
Code: Select all
wget http://www.xenosoft.de/X.org.conf.zip
-
-
Code: Select all
sudo cp xorg.conf.radeon edit/etc/X11/xorg.conf
-
- I replaced radeon with fbdev
-
Code: Select all
sudo mksquashfs edit extract-cd/casper/filesystem.squashfs
-
-
Code: Select all
printf $(du -sx --block-size=1 edit | cut -f1) > extract-cd/casper/filesystem.size
-
-
-
-
Code: Select all
find -type f -print0 | sudo xargs -0 md5sum | grep -v isolinux/boot.cat | sudo tee md5sum.txt
-
Code: Select all
sudo mkisofs -D -r -V "ubuntu_MATE_16.04.1_LTS_X1000" -cache-inodes -J -l -o ../ubuntu-mate-16.04.1-desktop-powerpc-custom.iso .
-
Code: Select all
sudo cdrecord dev=/dev/cdrom ubuntu-mate-16.04.1-desktop-powerpc-custom.iso
After that I tried to load the ram disk with:
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd
Unfortunately the CFE can't load the ram disk. I don't know why. I copied it to the CF card and after that I was able to load the ram disk.
Code: Select all
CFE> ramdisk –addr=0x24000000 –fatfs cf0:initrd
I think I did something wrong with mkisofs.
OK, the integration of the xorg.conf was successfull. I can boot the Live DVD to the MATE desktop.
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet ro splash --"
Code: Select all
CFE> boot -elf -noints -fatfs cf0:vmlinux-4.7
Cheers,
Christian
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Fri Sep 02, 2016 4:08 pm
by xeno74
Hi All,
I created a new ISO with:
sudo mkisofs -r -V "ubuntu_MATE_16.04.1_LTS_X1000" -iso-level 2 -o ../ubuntu-mate-16.04.1-desktop-powerpc-x1000.iso .
After that I burned it with Brasero. Unfortunately the CFE can't load the initrd.
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd
Error message:
Code: Select all
Loading: Error: DRQ should be zero
Had to read data 1024 times to clear DRQ
Failed.
Could not load atapi0.1:casper/powerpc64/initrd: File not found
But the CFE can see the initrd:
Code: Select all
CFE> dir -fs=iso atapi0.1:CASPER/POWERPC64
INITRD. 24506574
VMLINUX. 27074136
OK, I see the problem. There is a dot at the end of the file name initrd.
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd.
works!!!!!!!!!!!!!
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet ro splash --"
Code: Select all
CFE> boot -elf -noints -fatfs cf0:vmlinux-4.7
It boots to the MATE desktop without any problems.
I am happy!
Cheers,
Christian
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Fri Sep 02, 2016 8:33 pm
by zappa2009
Very cool.
I add vmlinux-4.7 into to root of the my UbuntuMate-X1000-LiveDVD and boot it from DVD only.
And I can mount my btrfs-exfat usbstick. I can access it on the Desktop
maybe its possible to add his modules too
But today its late.
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Fri Sep 02, 2016 11:51 pm
by mechanic
xeno74 wrote:Hi All,
It boots to the MATE desktop without any problems.
I am happy!
Cheers,
Christian
I have been monitoring your adventure with great interest.
Congratulations.
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Sat Sep 03, 2016 9:25 am
by xeno74
mechanic wrote:
I have been monitoring your adventure with great interest.
Congratulations.
Thank you!
zappa2009 wrote:Very cool.
I add vmlinux-4.7 into to root of the my UbuntuMate-X1000-LiveDVD and boot it from DVD only.
Well done!
I also added the stable kernel
4.7.2 to the Live DVD and it boots to the MATE desktop with the following commands:
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd.
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet ro splash --"
Code: Select all
CFE> boot -elf -noints -fs=iso atapi0.1:casper/powerpc64/vmlinux.
It works without any problems.
Guys, we have a new Live DVD!
Re: ubuntu MATE 16.04.1 Live DVD
Posted: Sat Sep 03, 2016 1:50 pm
by mechanic
WHOOPIE!