LWN.net Logo

Making Fedora Core 2 and Windows play well together

Making Fedora Core 2 and Windows play well together

Posted Jul 17, 2005 17:53 UTC (Sun) by darksyd (guest, #31033)
Parent article: Making Fedora Core 2 and Windows play well together

I got this error when I gave the command-

[root@localhost ~]# sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: HDIO_GETGEO says that there are 16 heads
start: (c,h,s) expected (1023,254,63) found (1023,0,1)
start: (c,h,s) expected (1023,254,63) found (1023,0,1)
start: (c,h,s) expected (1023,254,63) found (1023,0,1)
*** buffer overflow detected ***: sfdisk terminated
======= Backtrace: =========
/lib/libc.so.6(__chk_fail+0x41)[0x9cc565]
sfdisk[0x804c563]
sfdisk[0x804d805]
sfdisk[0x804eaba]
/lib/libc.so.6(__libc_start_main+0xc6)[0x902de6]
sfdisk[0x8048dc1]
======= Memory map: ========
0065d000-00666000 r-xp 00000000 16:41 785666 /lib/libgcc_s-4.0.0-20050520.so.1
00666000-00667000 rwxp 00009000 16:41 785666 /lib/libgcc_s-4.0.0-20050520.so.1
007fe000-00818000 r-xp 00000000 16:41 785682 /lib/ld-2.3.5.so
00818000-00819000 r-xp 00019000 16:41 785682 /lib/ld-2.3.5.so
00819000-0081a000 rwxp 0001a000 16:41 785682 /lib/ld-2.3.5.so
008ee000-00a12000 r-xp 00000000 16:41 785691 /lib/libc-2.3.5.so
00a12000-00a14000 r-xp 00124000 16:41 785691 /lib/libc-2.3.5.so
00a14000-00a16000 rwxp 00126000 16:41 785691 /lib/libc-2.3.5.so
00a16000-00a18000 rwxp 00a16000 00:00 0
00eb2000-00eb3000 r-xp 00eb2000 00:00 0
08048000-08053000 r-xp 00000000 16:41 1540532 /sbin/sfdisk
08053000-08054000 rw-p 0000b000 16:41 1540532 /sbin/sfdisk
08054000-0805e000 rw-p 08054000 00:00 0
08b95000-08bb6000 rw-p 08b95000 00:00 0 [heap]
b7d23000-b7d29000 r--s 00000000 16:41 1571549 /usr/lib/gconv/gconv-modules.cache
b7d29000-b7d2a000 rw-p b7d29000 00:00 0
b7d2a000-b7f2a000 r--p 00000000 16:41 1508978 /usr/lib/locale/locale-archive
b7f2a000-b7f2c000 rw-p b7f2a000 00:00 0
bf82f000-bf845000 rw-p bf82f000 00:00 0 [stack]
Aborted

I have a PIII 800 MHz, 128 MB SDRAM (yeah, its old! i'll change it very soon). WinXP Pro is installed on hda and Fedora Core 4 on hdd.


(Log in to post comments)

Making Fedora Core 2 and Windows play well together

Posted Jul 19, 2005 4:08 UTC (Tue) by mbraincell (guest, #31062) [Link]

I too got the same kind of errors and sfdisk aborted. I just installed Fedora core 4 and have Windows XP home edition. Mine is a laptop with intel celeron processor. I thought the problem was only with Fedora core 2, and I was just one unlucky one to get it on Core 4, but now I see I am not alone

Making Fedora Core 2 and Windows play well together

Posted Sep 22, 2005 20:58 UTC (Thu) by savoyboy (guest, #32620) [Link]

I just installed FC4 on an Intel Pentium 4 also running Windows 2003 Server SP1 and I ran into the same error with sfdisk. This is a known bug with sfdisk and is addressed at this link:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159418

The bug report gives a patch for the sfdisk source and a reference to the update available for sfdisk. I fixed the sfdisk overflow error by running "yum update util-linux.i386".

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds