Showing posts with label Xubuntu. Show all posts
Showing posts with label Xubuntu. Show all posts

Monday, November 7, 2016

MacBook 2,1 (2007): Installing Xubuntu (not yet successful...)

URL (Installation instruction that I used):

https://ubuntuforums.org/showthread.php?t=2266424


URL (32-bit version of Xubuntu that I used):

http://ftp.uni-kl.de/pub/linux/ubuntu-dvd/xubuntu/releases/14.04/release/xubuntu-14.04.2-desktop-i386.iso


URL (Mac Linux USB loader I used):

https://github.com/SevenBits/Mac-Linux-USB-Loader/archive/v1.1.zip


Command:

$ sudo gparted


Command:

$ sudo fdisk -l


Command:

$ sudo apt-get install grub-efi


Command:

$ sudo mkdir /mnt
$ sudo mkdir /mnt/usb


Command:

$ sudo mount /dev/sda2 /mnt              # Target hard drive
$ sudo mount /dev/sdb2 /mnt/usb       # Installation usb drive


Command:

$ for i in /dev /dev/pts /proc /sys /run /usr /bin /sbin /lib; do sudo makedir /mnt$i; done
$ for i in /dev /dev/pts /proc /sys /run /usr /bin /sbin /lib; do sudo mount -B $i /mnt$i; done


Command:

$ sudo chroot /mnt


Command:

# grub-install --target=i386-efi --efi-directory=/usb --boot-directory=/usb/boot --bootloader-id=boot --removable


Result:

Installing for i386-efi platform.
Installation finished. No error reported.


Command:

# update-grub


Result:

Generating grub coonfiguration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /vmlinuz-3.15.0.0-30-generic
Froud initrd image: //initrd.img-3.16.0-30-generic
mktmp: failed to create directory via template '/tmp/os-prober.XXXXXX': No suckh file or directory
mkdir: cannot create directory '/var/lib/os-prober/mount': No such file or directory
done


Command:

# mkdir /var/lib
# mkdir /var/lib/os-prober
# mkdir /tmp
# update -grub


Result:

Generating grub coonfiguration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /vmlinuz-3.15.0.0-30-generic
Froud initrd image: //initrd.img-3.16.0-30-generic
done

Restart with Snow Leopard installation disk


Command (Terminal on Snow Leopard installer):

# bless --device /dev/disk0s1 --setBoot --legacy --verbose

freeze after restart