Dual boot

From YobiWiki
Jump to navigation Jump to search

Converted with HTML::WikiConverter::MediaWiki from my old phpwiki site


Tips to resize a Windows partition to leave room for Linux

  • Reboot the machine with Knoppix in the CDrom.
  • Go for a root-console (crtl+alt+f1).
  • Follow the instructions in that FAQ page of ntfsresize.
    • Brief decription for a NTFS located on /dev/hda1:
    • Check for minimal partition size:


          ntfsresize -i /dev/hda1
  • Shrink the ntfs filesystem:


          ntfsresize -s5000M /dev/hda1
  • Delete the (long) ntfs partition


          fdisk /dev/hda -> d (-> 1)
  • Create a new ntfs partition (with the newly shrunk filesystem)


          (fdisk)-> n -> p -> 1 -> 1 -> +5000M
                 -> t (-> 1) -> 7
                 -> a -> 1
  (Create the other partitions in the left space:)
  (                 n e 2 enter enter            )
  ( For a SWAP:                                  )
  (                 n l enter +512M              )
  (                 t 5 82                       )
  ( For a /:                                     )
  (                 n l enter enter              )

                 -> w
  • First check: Reboot without the Knoppix CD and check if Windows boots properly
  • Now you're ready to install Linux...