From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,ec708b712980ad2f X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2000-08-24 21:50:47 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!newsfeed.direct.ca!look.ca!cyclone.bc.net!rover.ucs.ualberta.ca!michal From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Newsgroups: comp.os.linux.alpha Subject: Re: SRM or AlphaBIOS Date: 25 Aug 2000 04:40:25 GMT Organization: Disorganized Bits Message-ID: <8o4tbp$g70$1@pulp.srv.ualberta.ca> References: <39A59340.45BD4A25@hotmail.com> Reply-To: michal@phys.ualberta.ca NNTP-Posting-Host: gortel.phys.ualberta.ca X-Newsreader: TIN [version 1.2 PL2] Xref: supernews.google.com comp.os.linux.alpha:258 William A. Welch III (wwelch@hotmail.com) wrote: : First, run fdisk and choose the 'u' request to : changes units from cylinders to sectors. Second, print the partition : table and write down (you don't want to loose this ... trust me) the : sectors on which each partition begins and ends. A comment. The above indeed does work but for dumping FAT partition tables (to a file on a hard disk or on a floppy or to a printer) I normally use sfdisk. An advantage is that you can feed saved data from stdin to sfdisk and it will recreate the original; even after you managed to mess it up royally. :-) I was actually using that also to rewrite partition tables (say, partitions were not in order). Dump, get data into an editor, do adjustments and feed results back into sfdisk. A brand new partition table with a minimum of typing, intact file systems, and very little chance of a screwup. Unfortunately sfdisk does not work on BSD type partition tables. :-( Michal