Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!aramis.rutgers.edu!athos.rutgers.edu!rbthomas From: rbthomas@athos.rutgers.edu (Rick Thomas) Newsgroups: comp.os.minix Subject: Re: 1.3 hard disk question Message-ID: Date: 12 Jun 89 20:51:13 GMT References: <19106@cup.portal.com> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 74 Did you ever find the answer to this? I am having a similar problem. I have two hard disks in my AT. One (the first one) I have reserved for DOS. (DOS refuses to boot unless there is an active partition on the first hard disk, so I gave it the whole thing.) The second disk is for Minix. In Minix it is called /dev/hd5 and the partitions are /dev/hd{6,7,8,9} While booting -- during the copy root to ramdisk phase -- I get the diagnostic "Illegal partition table" (always at block 45 for some reason) and partitions 6,7,8 and 9 all have length zero according to "dd if=/dev/hd6 of=/dev/null" (where 6 = one of 6,7,8,9) DD claims to have copied "0+0" records. "fdisk /dev/hd5" shows a perfectly normal partition table with partition 1 equal to the whole disk. mkfs /dev/hd6 fails with a write error, so I have put my /usr partition on /dev/hd5, and all seems well except for the "illegal partition table" message and the fact that the boot-time fsck refuses to check /dev/hd5 (it won't even give me the option! It only accepts 1-4 and 5-9.) Run-time fsck works fine. Rick BTW -- Im using Minix vers 1.3 "fresh out of the box" from P-H with no hacks (yet). ======================================================================== Rick Thomas, Manager Supercomputer Remote Access Center Rutgers University, College of Engineering Brett and Bowser Roads Piscataway, NJ 08855-0909 Phone: (201) 932-4301 Internet: rbthomas@jove.rutgers.edu UUCP: {any backbone site}!rutgers!jove.rutgers.edu!rbthomas Alternate UUCP: {convex|c1apple|karna}!kingtut!rbthomas There are lots of dangerous people on the streets of Manhattan... muggers, rapists, mimes... ======================================================================== From Chuck_M_Grandgent@cup.portal.com Sat Jun 3 19:14:50 1989 Subject: 1.3 hard disk question Date: 3 Jun 89 23:14:50 GMT Organization: The Portal System (TM) I'm still in the process of trying to upgrade my 1.2 to 1.3. I have two partitions, hd2 @ 6680 blocks, and hd3 @ about 3500. I'd changed 1.2 to have it load the file system from hd2. I did this by changing ROOT_DEV in const.h for file system stuff. I also changed main.c in file system stuff to not load f.s. to RAM disk. I set the RAM disk to just 10k,'cuz I really don't want it. This worked fine for 1.2, but doesn't for 1.3. As I initially load the 1.3 root file system floppy, it sets my hd2 to the size of my f.s. floppy, 360 blocks. It also copies that root file system floppy contents to my hd2. Which module is doing this and are there any other suggestions for preventing Minix from trying to load my root file system to RAM disk. By the way, I'd make hd2 minimal, say 400 blocks, but then I can't get mkfs to make a file system bigger than about 7000 blocks, so that's why I like my root at 6680 and the rest in hd3. ============================================================ sun!portal!cup.portal.com!chuck_m_grandgent K1OM AEG Modicon, Industrial Automation Systems Group North Andover / Concord, Massachusetts ============================================================ -- Rick Thomas uucp: {ames, cbosgd, harvard, moss, seismo}!rutgers!jove.rutgers.edu!rbthomas arpa: rbthomas@JOVE.RUTGERS.EDU Phone: (201) 932-4301