I use the hd-media method to install it, which is the
"The CD image approach" in https://help.ubuntu.com/community/Installation/FromWindows
get the hd-media version of vmlinuz, initrd.gz
place it in c:\hd-media\
grabbed grub4dos, extract grldr, menu.lst and place it in c:\
mod the menu.lst
add:
title Install Ubuntu alternate
#original in ubuntu help, which will install X and the X desktop enviornment
#kernel (hd0,0)/hd-media/vmlinuz root=/dev/ram0 ramdisk_size=128000
#boot to 'install command-line system'
#my mod here
kernel (hd0,0)/hd-media/vmlinuz append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal root=/dev/ram0 ramdisk_size=128000
initrd (hd0,0)/hd-media/initrd.gz
I boot it using ntldr redirect grldr, so,
in windows cmd:
attrib -R -S -H boot.ini
echo c:\grldr="start grldr" >> boot.ini
install a ubuntu command line system, no X, no OOo, no shit, clean!
I dont install grub on MBR, but on sda2(so-called Super Block), while using the parition tool, it makes the sda2 as boot/active automatically, I change the boot flag back to sda1
/dev/sda
/dev/sda1 | ntfs | boot
/dev/sda2 | ext3 | mount as /
/dev/sda3 | swap | mount as swap
you can use the gui which is slow, or press alt-2 to tty2 with
fdisk /dev/sda
p > a > 1
a > 2 > w
Now I boot my linux like this with modded c:\menu.lst with these line added
or you can copy the code in /boot/grub/menu.lst in /dev/sda2
title find and boot Linux with menu.lst already installed
find --set-root /sbin/init
savedefault --wait=2
configfile /boot/grub/menu.lst
now, install the gOS with these command:
sudo echo '' >> /etc/apt/sources.list
sudo echo 'deb http://packages.thinkgos.com/gos/ reloaded main' >> /etc/apt/sources.list
sudo echo 'deb-src http://packages.thinkgos.com/gos/ reloaded main' >> /etc/apt/sources.list
sudo echo '' >> /etc/apt/sources.list
sudo wget http://www.thinkgos.com/files/gos_repo_key.asc
sudo apt-key add gos_repo_key.asc
sudo rm gos_repo_key.asc
sudo aptitude update
#comment out cdrom in source.list
sudo apt-get install xorg e17 emodule-itask-ng emodule-mixer emodule-tclock emodule-taskbar emodule-deskshow emodule-efm-nav emodule-efm-path idesk gos-keyring greenos-artwork greenos-icon-theme greenos-default-settings greenos-wallpapers ttf-arphic-bkai00mp ttf-arphic-bsmi00lp leafpad firefox synaptic bsh desktop-file-utils gksu hibernate hicolor-icon-theme slocate ttf-freefont
sudo apt-get install bsh desktop-file-utils gksu acpi acpid hibernate hicolor-icon-theme slocate ttf-freefont
sudo apt-get clean
sudo apt-get autoremove
you can strip "ttf-arphic-bkai00mp ttf-arphic-bsmi00lp leafpad firefox synaptic" as you like, ttf fonts are for Chinese, CHT and CHS, leafpad is a notepad, synaptic is a good tool to manage apt packages
then issue a reboot command, you will see a very nice 'entrance' waiting you to logon
it will be ok on most system
now you got a gOS which consumes much fewer hdd space then the gOS 2.0 beta 1
use
df -h
to see it, it can be as few as 600MBfancy itask-ng is still very buggy ......
No comments:
Post a Comment