Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ok, I've made a super simple installation on my thinkpad, if anyone is curious:
- Used parted
- # parted /dev/sda
- mklabel msdos
- unit mb
- mkpart primary 0g 128
- mkpart primary 128 -1
- toggle 1 boot
- p free
- quit
- Yes, is only two partitions but it works to test sourcemage, also everything is ext4
- # mkfs.ext4 /dev/sda1
- # mkfs.ext4 /dev/sda2
- # mkdir /mnt/drive
- # mount /dev/sda2 /mnt/drive
- # mkdir /mnt/drive/boot
- # mount /dev/sda1 /mnt/drive/boot
- # wget "http://download.sourcemage.org/image/official/smgl-stable-0.61-basesystem-x86_64.tar.bz2"
- # cd /mnt/drive
- # tar xvjf /root/smgl-stable-0.61-basesystem-x86_64.tar.bz2
- # mount --bind /dev /mnt/drive/dev
- # mount --bind /sys /mnt/drive/sys
- # mount -t proc none /mnt/drive/proc
- # mount -t devpts none /mnt/drive/dev/pts
- So far nothing new, but what I've had to do is specify Bash on the chroot because the live USB I've used had a retarded shell
- # chroot /mnt /bin/bash
- Now you have to change your root password, TEST IF YOUR KEYBOARD HAS ALL THE CORRECT MAPPINGS before you change the password
- # passwd root
- Next I change the network interfaces
- # nano /etc/network/interfaces
- auto eth0
- allow-hotplug eth0
- iface eth0 inet dhcp
- Set your preferred DNS provider on resolv.conf.head (is from OpenNIC if you are curious)
- # nano /etc/resolv.conf.head
- nameserver 193.41.79.236
- Changed the fstab
- # nano /etc/fstab
- /dev/sda1 /boot ext4 defaults 0 2
- /dev/sda2 / ext4 noatime 0 1
- Set the bootloader
- # nano /etc/lilo.conf
- boot = /dev/sda
- root = /dev/sda2
- # lilo -A /dev/sda 1
- # lilo
- Change the keymaps
- # ls /usr/share/keymaps/i386/qwerty
- # nano /etc/sysconfig/keymap
- KEYMAP=uk
- # exit
- # reboot
- Done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement