From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,b09be94a1dce08eb X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-06-01 11:30:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!rover.ucs.ualberta.ca!not-for-mail From: Michal Jaegermann Newsgroups: comp.os.linux.alpha Subject: Re: boot block Date: 1 Jun 2002 18:27:27 GMT Organization: Disorganized Bits Message-ID: References: <6eQJ8.41889$3g4.3232959@zwoll1.home.nl> NNTP-Posting-Host: gortel.phys.ualberta.ca Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.4.9-21 (i686)) Xref: archiver1.google.com comp.os.linux.alpha:5459 Marcel Pol wrote: > M�ns Rullg�rd wrote: >> Marcel Pol writes: >> >>> Currently I boot with srm and aboot from a floppy, to a / filesystem at >>> /dev/sda2. >>> I also have 20 Mb at the start of the disk. Do you mean a free space? 'aboot' takes around 80 K of that space plus a bit of an "overhead" (layout, a partition table itself) and a general advice is "leave the first cylinder free" which leaves you with a lot of a "safety zone". More precisely you can include this space in a partition of an "unused" type (BSD label partition allows for overlapping partitions) which is harmless but ignored by Linux and may be needed if you need partitioning backward compatibility for some reasons. >>> It uses a Dos disklabel. SRM firmware will not boot from that. OTOH you do not need to boot from a disk, or any other device, with your root file system on it (see your experience above :-) and as far as Linux is concerned you can freely mix disks with different supported partitioning schemes on one system. >> You can only boot from osf disklabel disks. You might be able to >> convert it without destroying anything. > Ok, thanks. > I'll see what I can do then. You have to write a new partioning table using old data precise to a sector level. 'fdisk' will allow you to do that and you can try a number of times if something went wrong. Changing partition table does NOT affect your data in any way but keep a hard copy of your original partition table and also save a dump of it done with 'sfdisk' ('sfdisk' unfortunately understands only FAT-type partition tables). It is better not to reboot until you are satisfied but even after a reboot it is possbile to recover from a bad partition table if you kept data above. It can be a PITA though. Doable, not even very hard, but definitely not for anxious types. :-) Michal