|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: [Petitboot] system going down [message #160 is a reply to message #159] |
Sun, 08 January 2012 19:19   |
KeyofBlueS
Messages: 50 Registered: December 2011
|
Gitbrew Member |
|
|
- Unmount ps3dd2:
umount /dev/ps3dd2
- Make ubuntu dir:
mkdir /mnt/ubuntu
- Mount ps3dd2 to ubuntu dir
mount /dev/ps3dd2 /mnt/ubuntu
- cd to usb device (e.g. sda1) where kernel is:
cd /tmp/petitboot/mnt/sda1
- Extract kernel (e.g. linux-2.6.39.4-build.tar.bz2) to ubuntu dir:
tar jxvf linux-2.6.39.4-build.tar.bz2 -C /mnt/ubuntu
- list /boot, take note of new vmlinux file:
ls /mnt/ubuntu/boot
- Edit kboot.conf:
nano /mnt/ubuntu/etc/kboot.conf
- adding (or edit) something like this:
Ubuntu=/boot/vmlinux-XXXXXXXX root=/dev/ps3dd2
- then save kboot.conf with CTRL+O, and exit with CRTL+X
[Updated on: Sun, 08 January 2012 23:04] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: [Petitboot] system going down [message #174 is a reply to message #173] |
Mon, 09 January 2012 18:41   |
Spawn
Messages: 18 Registered: January 2012 Location: South Africa
|
Gitbrew Noob |
|
|
root@ps3-linux:/# cat /tmp/petitboot/mnt/ps3dd2/etc/fstab
/dev/ps3dd2 / ext3 defaults 0 1
/dev/ps3vram none swap sw 0 0
/dev/ps3dd1 none swap sw 0 0
/dev/sr0 /mnt/cdrom auto noauto,ro 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
root@ps3-linux:/# ls -l /dev/ps3d*
brw-rw---- 1 root root 254, 0 Jan 9 2012 /dev/ps3da
brw-rw---- 1 root root 254, 16 Jan 9 2012 /dev/ps3db
brw-rw---- 1 root root 254, 32 Jan 9 2012 /dev/ps3dc
brw-rw---- 1 root root 254, 48 Jan 9 2012 /dev/ps3dd
brw-rw---- 1 root root 254, 49 Jan 9 2012 /dev/ps3dd1
brw-rw---- 1 root root 254, 50 Jan 9 2012 /dev/ps3dd2
root@ps3-linux:/# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 111.9M 44.0K 111.9M 0% /tmp
udev 111.9M 188.0K 111.7M 0% /dev
/dev/ps3dc 2.0G 32.0K 2.0G 0% /tmp/petitboot/mnt/ps3dc
/dev/ps3vflashe 472.0K 0 472.0K 0% /tmp/petitboot/mnt/ps3vflashe
/dev/ps3vflashd 15.9M 520.0K 15.4M 3% /tmp/petitboot/mnt/ps3vflashd
/dev/ps3vflashc 199.6M 178.0M 21.6M 89% /tmp/petitboot/mnt/ps3vflashc
/dev/ps3dd2 16.5G 3.5G 12.2G 22% /tmp/petitboot/mnt/ps3dd2
/dev/sda1 474.0M 41.3M 432.7M 9% /tmp/petitboot/mnt/sda1
root@ps3-linux:/# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=114620k)
udev on /dev type tmpfs (rw,noatime,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/ps3dc on /tmp/petitboot/mnt/ps3dc type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3vflashe on /tmp/petitboot/mnt/ps3vflashe type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3vflashd on /tmp/petitboot/mnt/ps3vflashd type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3vflashc on /tmp/petitboot/mnt/ps3vflashc type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3dd2 on /tmp/petitboot/mnt/ps3dd2 type ext3 (ro,relatime,errors=continue,data=writeback)
/dev/sda1 on /tmp/petitboot/mnt/sda1 type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
root@ps3-linux:/# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=114620k)
udev on /dev type tmpfs (rw,noatime,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/ps3dc on /tmp/petitboot/mnt/ps3dc type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3vflashe on /tmp/petitboot/mnt/ps3vflashe type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3vflashd on /tmp/petitboot/mnt/ps3vflashd type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3vflashc on /tmp/petitboot/mnt/ps3vflashc type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
/dev/ps3dd2 on /tmp/petitboot/mnt/ps3dd2 type ext3 (ro,relatime,errors=continue,data=writeback)
/dev/sda1 on /tmp/petitboot/mnt/sda1 type vfat (ro,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage =cp437,iocharset=iso8859-1)
|
|
|
|
|
|
|
|
|
|
| Re: [Petitboot] system going down [message #178 is a reply to message #177] |
Mon, 09 January 2012 19:33   |
KeyofBlueS
Messages: 50 Registered: December 2011
|
Gitbrew Member |
|
|
Maybe I found a problem. You said you had renamed lib in lib.old, but that dir contain system files other than kernel modules. So now do:
umount /dev/ps3dd2
mkdir /mnt/ubuntu
mount /dev/ps3dd2 /mnt/ubuntu
rm -rf /mnt/ubuntu/lib.old/modules
mv /mnt/ubuntu/lib.old/* /mnt/ubuntu/lib
[Updated on: Mon, 09 January 2012 20:48] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|