Install meego directly on the hard disk to a netbook or IVI on-board device.

Source: Internet
Author: User

Preparations

Download the netbook or on-board image file to a local disk.
: Http://download.meego.com/trunk-daily/builds/1.1.90/latest/images/
Or http://repo.meego.com/MeeGo/builds/trunk/latest/images/

[root@woliu-desktop img]# ls
meego-netbook-ia32-trunk-daily-1.1.80.14.20110107.1.img/

Create a new disk partition and format it as an ext3 File

[root@woliu-desktop img]# fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes255 heads, 63 sectors/track, 30401 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0xd274d274   Device Boot      Start         End      Blocks   Id  System/dev/sda1   *           1        6375    51207156    7  HPFS/NTFS/dev/sda2            6376       30402   192990158    f  W95 Ext'd (LBA)/dev/sda5            6376       10199    30716248+   b  W95 FAT32/dev/sda6           10200       13847    29296640   83  Linux/dev/sda7           13847       13971      999424   82  Linux swap / Solaris/dev/sda8           13972       21620    61440000   83  Linux/dev/sda9           21621       23252    13107200   83  Linux/dev/sda10          23252       24884    13107200   83  Linux/dev/sda11          24884       30402    44317696   83  Linux

4G space is enough, of course, the bigger the better
Don't worry, just use the ext3 file format.
Here, I use/dev/sda9 as the meego installation partition.

Create a File System

Load the image file to obtain the installation Source
mkdir /mnt/{1,2,3}
mount -o loop /work/img/meego-netbook-ia32-trunk-daily-1.1.80.14.20110107.1.img /mnt/1/
mount -o loop /mnt/1/LiveOS/squashfs.img /mnt/2/
mount -o loop /mnt/2/LiveOS/ext3fs.img /mnt/3/

Now we have obtained the installation Source
[root@woliu-desktop img]# ls /mnt/3/
bin boot dev etc home lib lost+found media mnt opt proc root sbin srv sys tmp usr var

Load empty disk partitions to install the meego System
Note: (load the/dev/sda9 partition to/mnt/4, depending on your partition status)
mkdir /mnt/4
mount /dev/sda9 /mnt/4

Copy the installation file to/mnt/4
rsync --avz --delete /mnt/3/* /mnt/4/

Add startup options in the startup configuration file

Modify fstab
[root@woliu-desktop img]# vi /mnt/4/etc/fstab

/dev/root  /         ext3    defaults,noatime 0 0devpts     /dev/pts  devpts  gid=5,mode=620   0 0tmpfs      /dev/shm  tmpfs   defaults         0 0proc       /proc     proc    defaults         0 0sysfs      /sys      sysfs   defaults         0 0

 

Modify boot items of Boot Loader

1. Prepare the kernel
cp /mnt/4/boot/vmlinuz-2.6.37-6.3 /boot

2. Add startup options

The operating system I use is Ubuntu 10.10 and the start manager is grub2. Therefore, I add the start item to the grub. conf file. The directory is in/boot/GRUB/grub. cfg.
menuentry 'meego' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set 81273c8f-9ad0-47b2-a3a5-5041944201d2
linux /boot/vmlinuz-2.6.37-6.3 root=/dev/sda9
}

Bootstrap to meego System

Restart your computer and select the meego option to start the meego system.

Remarks

I often need to reinstall the meego system, so I prefer to keep two different versions of meego for comparison.

 

Article transferred from: http://www.meego9.net/posts/605.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.