Home » Archive

Articles tagged with: root

Uncategorized »

[6 Jan 2009 | No Comment | 3,080 supporters]

This is for my record. In case i have format my laptop. I still have this record.
Currently i want to get openvz to work in my fedora after successfully instal in Ubuntu 8.10. After booting with new Stable kernel openVZ i get kernel panic. So i suspect it have something to do with the initrd.
I have to extract initrd.
[root@localhost boot]# mkdir initrd
[root@localhost boot]# cp initrd-2.6.18-92.1.13.el5.028stab059.6.img initrd
[root@localhost boot]# cd initrd
[root@localhost initrd]# ls
initrd-2.6.18-92.1.13.el5.028stab059.6.img
[root@localhost initrd]# gzip -dc initrd-2.6.18-92.1.13.el5.028stab059.6.img | cpio -id
16615 blocks
[root@localhost initrd]# ls
bin  etc   initrd-2.6.18-92.1.13.el5.028stab059.6.img  lib64  sbin  sysroot
dev  init  lib                                         proc   sys   …

Uncategorized »

[1 Jan 2009 | One Comment | 1,080 supporters]

I have read a lot of manual, trying every steps found via internet but still failed to install in ubuntu. Finally…
root@hostmaster-laptop:~# dpkg -i linux-image-2.6.24-22-openvz_2.6.24-22.44_amd64.deb
Selecting previously deselected package linux-image-2.6.24-22-openvz.
(Reading database … 213930 files and directories currently installed.)
Unpacking linux-image-2.6.24-22-openvz (from linux-image-2.6.24-22-openvz_2.6.24-22.44_amd64.deb) …
Done.
Setting up linux-image-2.6.24-22-openvz (2.6.24-22.44) …
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-22-openvz
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory … found: /boot/grub
Searching for default file … found: /boot/grub/default
Testing for an existing GRUB menu.lst file … found: /boot/grub/menu.lst
Searching for splash image … none found, skipping …
Found kernel: /boot/vmlinuz-2.6.27-9-generic
Found kernel: /boot/vmlinuz-2.6.27-7-generic
Found kernel: /boot/vmlinuz-2.6.24-22-openvz
Found kernel: /boot/vmlinuz-2.6.24-6-fza-amd64
Found kernel: …

Uncategorized »

[1 Jan 2009 | No Comment | 924 supporters]

root@hostmaster-laptop:~# vzctl set 1001 –name deb –nameserver “202.188.0.133 202.188.1.5” –diskspace 2G:2G –save
Name deb assigned
Saved parameters for CT 1001
Starting the container.
root@hostmaster-laptop:~# vzctl start 1001
Starting container …
Container is mounted
Adding IP address(es): 192.168.1.200
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: deb.inertz.org
File resolv.conf was modified
Container start in progress…
root@hostmaster-laptop:~# vzctl start 1001
Container is already running
Entering the container.
root@hostmaster-laptop:~# vzctl enter 1001
entered into CT 1001
deb:/#
Set ROOT password.
deb:/# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Checking kernel.
deb:/# uname -a
Linux deb.inertz.org 2.6.24-22-openvz #1 SMP Fri Nov 14 13:55:04 UTC 2008 x86_64 GNU/Linux
It successfully login to GUEST OS. Notice …