Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: [KFUG] fdisk .



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


On Wed, Dec 29, 2004 at 10:21:45PM +0900, smiles wrote:
 > 윈도우를 사용할 때만 boot0cfg -B ad0 명령어를 이용하여
 > 
 > easyboot를 쓰고 평소에는 fdisk로 MBR영역을 초기화해서
 > 
 > 부트로더 없이 사용하고 있습니다.
 > 
 > 그런데 평소에는 잘 되던게 makeworld 를 한 후부터
 > 
 > fdisk를 이용하여 MBR영역을 초기화하려고 하면 마지막 저장할때
 > 
 > fdisk: can't write fdisk partition table: Operation not permitted
 > 
 > 에러가 발생하는군요.
 > 
정확히 언제 부터인지는 기억이 나지 않지만 /가 mount되어 있는 device
는 write가 되지 않습니다. fixit disk나 livecd로 부트해서 설정하세요.
또는 sysctl을 이용한 방법이 있지만 이는 추천하고 싶지 않습니다.

 > 그 이유를 도무지 모르겠습니다.
 > 
 > 도와주세요.
 > 
 > 
 > root:~# fdisk -B -b /boot/mbr ad0
 > ******* Working on device /dev/ad0 *******
 > parameters extracted from in-core disklabel are:
 > cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl)
 > 
 > Figures below won't work with BIOS for partitions not in cyl 1
 > parameters to be used for BIOS calculations are:
 > cylinders=155061 heads=16 sectors/track=63 (1008 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 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
 > start 63, size 31464657 (15363 Meg), flag 0
 > beg: cyl 0/ head 1/ sector 1;
 > end: cyl 1023/ head 149/ sector 63
 > The data for partition 2 is:
 > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 > start 31464720, size 124831665 (60952 Meg), flag 80 (active)
 > beg: cyl 1023/ head 255/ sector 63;
 > end: cyl 1023/ head 254/ sector 63
 > The data for partition 3 is:
 > <UNUSED>
 > The data for partition 4 is:
 > <UNUSED>
 > Do you want to change the boot code? [n] y
 > 
 > We haven't changed the partition table yet. This is your last chance.
 > parameters extracted from in-core disklabel are:
 > cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl)
 > 
 > Figures below won't work with BIOS for partitions not in cyl 1
 > parameters to be used for BIOS calculations are:
 > cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl)
 > 
 > Information from DOS bootblock is:
 > 1: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
 > start 63, size 31464657 (15363 Meg), flag 0
 > beg: cyl 0/ head 1/ sector 1;
 > end: cyl 1023/ head 149/ sector 63
 > 2: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 > start 31464720, size 124831665 (60952 Meg), flag 80 (active)
 > beg: cyl 1023/ head 255/ sector 63;
 > end: cyl 1023/ head 254/ sector 63
 > 3: <UNUSED>
 > 4: <UNUSED>
 > Should we write new partition table? [n] y
 > fdisk: can't write fdisk partition table: Operation not permitted
 > 

 > _______________________________________________
 > 한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트
 > questions at kr.FreeBSD.org
 > http://www.kr.FreeBSD.org/mailman/listinfo/questions

-- 
Regards,
Pyun YongHyeon
http://www.kr.freebsd.org/~yongari	|	yongari@xxxxxxxxxxx
_______________________________________________
한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트
questions at kr.FreeBSD.org
http://www.kr.FreeBSD.org/mailman/listinfo/questions


[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2005/01/08 09:24:48 $
Powered by FreeBSD