Want more features on Pastebin? Sign Up, it's FREE!
Guest

Tutorial by Megamal

By: hittheman on Aug 7th, 2012  |  syntax: None  |  size: 1.74 KB  |  views: 2,857  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. To install the live DVD on a hard disc, you need to do the following steps:
  2.  
  3. 1. Connect the hard disc to your computer.
  4. 2. Boot Linux on your computer (e.g. Live DVD Kubuntu).
  5. 3. Create partitions with fdisk (don't create a GPT partition table with gparted or similar):
  6. partition: swap partition (e.g. 128 MByte)
  7. partition: root file system (remaining hard disc)
  8.  
  9. 4. Format root file system with:
  10. mkfs.ext2 -I 128 /dev/DEVICENODE
  11. NOTE: Replace "DEVICENODE" by your real device node (e.g. sdc2).
  12.  
  13. 5. Format swap partition
  14. mkswap /dev/SWAP
  15. NOTE: Replace "SWAP" by your real device node (e.g. sdc1).
  16.  
  17. 6. Mount DISC.BIN from the DVD.
  18. sudo mkdir -p /mnt/src
  19. sudo mount -r -o loop /media/dvd/DISC.BIN /mnt/src
  20.  
  21. 7. Mount hard disc:
  22. sudo mkdir -p /mnt/dst
  23. sudo mount /dev/DEVICENODE /mnt/dst
  24. NOTE: Replace "DEVICENODE" by your real device node (e.g. sdc2).
  25.  
  26. 8. Copy all files
  27. sudo cp -a /mnt/src/* /mnt/dst/
  28.  
  29. 9. Copy fstab
  30. sudo cp /mnt/dst/etc/fstab.orig /mnt/dst/etc/fstab
  31.  
  32. 9. Edit fstab:
  33. Line 1:
  34. Replace "#SWAP" by /dev/hda1
  35. Line 2:
  36. Replace first "unionfs" by /dev/hda2
  37. Replace second "unionfs" by ext2
  38. Line 3:
  39. Remove line (ROOTDEVICE)
  40.  
  41. 10. Set video mode:
  42. sudo echo "PAL" >/mnt/dst/etc/xmode
  43.  
  44. OR
  45. sudo echo "NTSC" >/mnt/dst/etc/xmode
  46.  
  47. 11. Umount
  48. sudo umount /mnt/dst
  49. sudo umount /mnt/src
  50.  
  51. 12. Copy KLOADER.ELF and VMLINUX from the DVD to your memory card.
  52. 13. Start KLOADER.ELF on you ps2. Start with parameter "--no-cdvd" if it is hanging because of the broken laser.
  53. 14. Select VMLINUX from memory card in kernelloader as kernel.
  54. 15. Select "Disable initrd".
  55. 16. Select "Set to hda2" in kernelloader.
  56. 17. Select "Save Current Config"
  57. 18. Select "Boot Current Config".
  58.  
  59. Then the Live DVD will run full speed from the hard disc.
clone this paste RAW Paste Data