Dual boot

From YobiWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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...