home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17519 < prev    next >
Encoding:
Text File  |  1992-11-21  |  3.0 KB  |  72 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!davem
  3. From: davem@extro.ucc.su.OZ.AU (David Monro)
  4. Subject: Re: Partition without delete?
  5. Message-ID: <davem.722406384@extro.ucc.su.OZ.AU>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: extro.ucc.su.oz.au
  8. Organization: Sydney University Computing Service, Sydney, NSW, Australia
  9. References: <Bxy96p.B3v@mentor.cc.purdue.edu>
  10. Date: Sun, 22 Nov 1992 04:26:24 GMT
  11. Lines: 59
  12.  
  13. sexonbd@sage.cc.purdue.edu (Benjamin David Sexson (Ben)) writes:
  14.  
  15. >Hello out there.  I'd really love to install Linux, but I
  16. >can't afford to lose my DOS stuff :-(.  I read in the FAQ
  17. >that there is a way to partition with out losing all your old
  18. >stuff.  How do you do it?
  19. >Thanx,
  20. >Benjamin Sexson
  21. >sexonbd@sage.cc.purdue.edu
  22.  
  23. OK, here is how I did it for a couple of machines.
  24. This only applies for reducing the size of dos partitions, not moving
  25. them around. It works best if you have one big partition at the beginnig of the
  26. hard disk.
  27. NOTE: BACK UP FIRST! MAKE A DOS BOOT DISK (OR TWO) WITH A SECTOR EDITOR ON IT!!
  28. SAVE YOUR BOOT SECTOR AND PARTITION TABLE INFO FIRST!! (On paper if need be!)
  29. You will need - a disk defragger and a sector editor capable of recognizing
  30. the partition table and boot sector. (I use Norton 6.01)
  31.  
  32. First, run the defragger on your partition to get everything packed into the
  33.     lower and of it.
  34. Work out how much space you need.
  35. Edit your partition table to reduce the number of sectors in the partition,by
  36.     changing the ending cylinder (and possibly head) of the partition.
  37.     DO NOT shift the beginning of the partition. Change the total number of
  38.     sectors to match (Norton 6.01 will do this for you if you zero out the
  39.     number of sectors, mark the entry and do 'Recalculate Partition')
  40. Edit the boot sector to change the total number of sectors to match the entry in
  41.     the partition table OR DOS WILL MUNCH THINGS OFF THE END OF THE
  42.     PARTITION!!.
  43.  
  44. This works fine for me - at this point reboot and do a dir - check if the
  45.     number of free bytes looks right.
  46.  
  47. THERE IS NO GUARENTEE THAT THIS WILL WORK FOR YOU!!!
  48. I MAY HAVE MADE A TYPO SO BE CAREFUL AND THINK ABOUT WHAT YOU ARE DOING!
  49. I have done it to three machines with little problem. The only problem I
  50. have is that I reduced on partition from 40Mb to 20Mb, and now can't get it to
  51. go above 32Mb. The partition table is fine, but the boot sector won't let me
  52. change it properly. I am not in a hurry to fix it though. At one point the
  53. was in a horrible state - it would start to boot, put a line of garbage
  54. on the screen and freeze solid. (Turned out I'd trashed msdos.sys or io.sys)
  55. So be careful, and back up anything you can't afford to lose, and keep a
  56. boot disk with lots of utilities on it in case you stuff up - like something
  57. to save and restore partition and boot sector info. This will resurrect
  58. almost anything done by mucking with the partition table and boot sector,
  59. funny that.
  60.  
  61. Good luck,
  62.     David Monro
  63.     
  64.  
  65.  
  66. -- 
  67. David Monro
  68. e-mail: davem@extro.ucc.su.OZ.AU
  69. -- 
  70. David Monro
  71. e-mail: davem@extro.ucc.su.OZ.AU
  72.