Date: Mon, 18 Dec 2000 15:42:31 -0500 From: Trent Nelson <nelsont@wa.switch.aust.com> To: questions@FreeBSD.org Subject: Fdisk query regarding partition flags. Message-ID: <20001218154231.A1750@dhcp103-172-16-3.switch.com>
next in thread | raw e-mail | index | archive | help
Hi, I have a 9GB drive, ad0, that I partitioned into ad0s1 (4GB) and ad0s2 (5GB). FreeBSD resides on ad0s2, with Windows 98 on the former. For some strange reason, after installing FreeBSD 4.1-RELEASE, I did `fdisk -a ad0s1' and changed one of the four partition entries to being active. I did this in an attempt to make the Windows 98 partition active. I now know the error of my ways (`fdisk -a ad0' would have been the appropriate command) but now I'm stuck with a Win98 partition that I can't boot (I get the message "Invalid system disk. Replace the disk, a" (note that it stops at the `a')). From fdisk: dhcp-103-172-16-3# fdisk ad0s1 fdisk: can't get disk parameters on /dev/ad0s1; supplying dummy ones ******* Working on device /dev/ad0s1 ******* parameters extracted from in-core disklabel are: cylinders=1 heads=1 sectors/track=1 (1 blks/cyl) parameters to be used for BIOS calculations are: cylinders=1 heads=1 sectors/track=1 (1 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 104,(unknown) start 1936028272, size 1851859059 (904228 Meg), flag 0 beg: cyl 116/ sector 32/ head 100; end: cyl 288/ sector 46/ head 101 The data for partition 2 is: sysid 121,(unknown) start 1330184192, size 538976288 (263172 Meg), flag 0 beg: cyl 357/ sector 43/ head 32; end: cyl 0/ sector 10/ head 13 The data for partition 3 is: sysid 83,(unknown) start 538989391, size 1398362912 (682794 Meg), flag 0 beg: cyl 345/ sector 19/ head 32; end: cyl 324/ sector 19/ head 77 The data for partition 4 is: sysid 73,(unknown) start 1394627663, size 21337 (10 Meg), flag 80 (active) beg: cyl 87/ sector 0/ head 1; ^^^^^^^^^^^^^^^^ end: cyl 335/ sector 2/ head 78 FreeBSD dhcp103-172-16-3.switch.com 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000 jkh@ref4.freebsd.org:/usr/src/sys/compile/GENERIC i386 How do I make it so that none of the flags are 0x80? Thanks in advance. Regards, Trent. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001218154231.A1750>