[Bug 301702] New: sfdisk and other OS partitions
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702 Summary: sfdisk and other OS partitions Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sliwa@blue.cft.edu.pl QAContact: qa@suse.de Found By: --- When other OS is present on the hard drive (like e.g. BSD), there are additional partitions detected by Linux. This may look like this: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 > hda3: <bsd: hda8 hda9 hda10 hda11 hda12 hda13 > sfdisk obtains the partition table from the system and it looks like this: # sfdisk -l /dev/hda Disk /dev/hda: 38913 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/hda1 * 0+ 12747 12748- 102398278+ 7 HPFS/NTFS /dev/hda2 12748 15179 2432 19535040 83 Linux /dev/hda3 15180 19003 3824 30716280 a5 FreeBSD /dev/hda4 19004 38912 19909 159919042+ f W95 Ext'd (LBA) /dev/hda5 19004+ 30476 11473- 92156841 7 HPFS/NTFS /dev/hda6 30477+ 30999 523- 4200966 82 Linux swap / Solaris /dev/hda7 31000+ 33088 2089- 16779861 83 Linux /dev/hda8 15180 15212- 33- 262144 /dev/hda9 15212+ 15339- 128- 1022536 /dev/hda10 15339+ 15372- 33- 262144 /dev/hda11 15372+ 15405- 33- 262144 /dev/hda12 15405+ 17363- 1959- 15728640 /dev/hda13 17363+ 19003 1641- 13178672 The partitions 8 to 13 should not be displayed! # sfdisk -V /dev/hda Warning: partitions 3 and 8 overlap The partition table is perfectly correct! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702#c1 Matej Horvath <mhorvath@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |sliwa@blue.cft.edu.pl --- Comment #1 from Matej Horvath <mhorvath@novell.com> 2007-08-20 09:55:25 MST --- What version of sfdisk (util-linux) are you running? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702#c2 Cezary Sliwa <sliwa@blue.cft.edu.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|sliwa@blue.cft.edu.pl | --- Comment #2 from Cezary Sliwa <sliwa@blue.cft.edu.pl> 2007-08-22 01:45:01 MST --- sfdisk version 3.08 (aeb@cwi.nl, 040824) from util-linux-2.12r -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702 Matej Horvath <mhorvath@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mkoenig@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702#c3 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |sliwa@blue.cft.edu.pl --- Comment #3 from Matthias Koenig <mkoenig@novell.com> 2007-09-03 05:10:32 MST --- Interesting, can you please provide information, how different linux tools handle this currently? 1. Output of /proc/partitions. 2. output fdisk -l 3. output of parted /dev/hda print -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702#c4 Cezary Sliwa <sliwa@blue.cft.edu.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|sliwa@blue.cft.edu.pl | --- Comment #4 from Cezary Sliwa <sliwa@blue.cft.edu.pl> 2007-09-06 04:21:00 MST --- In the meantime, partition has been added. Now it looks as follows: sfdisk version 3.08 (aeb@cwi.nl, 040824) from util-linux-2.12r # /sbin/sfdisk -l /dev/hda Disk /dev/hda: 38913 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/hda1 * 0+ 12747 12748- 102398278+ 7 HPFS/NTFS /dev/hda2 12748 15179 2432 19535040 83 Linux /dev/hda3 15180 19003 3824 30716280 a5 FreeBSD /dev/hda4 19004 38100 19097 153396652+ 5 Extended /dev/hda5 19004+ 30476 11473- 92156841 7 HPFS/NTFS /dev/hda6 30477+ 30999 523- 4200966 82 Linux swap / Solaris /dev/hda7 31000+ 33088 2089- 16779861 83 Linux /dev/hda8 33089+ 33514 426- 3421813+ 83 Linux /dev/hda9 33515+ 34038 524- 4208998+ 83 Linux /dev/hda10 34039+ 35353 1315- 10562706 83 Linux /dev/hda11 35354+ 36155 802- 6442033+ 83 Linux /dev/hda12 36156+ 37371 1216- 9767488+ 83 Linux /dev/hda13 37372+ 38100 729- 5855661 83 Linux /dev/hda14 15180 15212- 33- 262144 /dev/hda15 15212+ 15339- 128- 1022536 /dev/hda16 15339+ 15372- 33- 262144 /dev/hda17 15372+ 15405- 33- 262144 /dev/hda18 15405+ 17363- 1959- 15728640 /dev/hda19 17363+ 19003 1641- 13178672 Linux kwant 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 i686 athlon i386 GNU/Linux
cat /proc/partitions major minor #blocks name
3 0 312571224 hda 3 1 102398278 hda1 3 2 19535040 hda2 3 3 30716280 hda3 3 4 1 hda4 3 5 92156841 hda5 3 6 4200966 hda6 3 7 16779861 hda7 3 8 3421813 hda8 3 9 4208998 hda9 3 10 10562706 hda10 3 11 6442033 hda11 3 12 9767488 hda12 3 13 5855661 hda13 3 14 262144 hda14 3 15 1022536 hda15 3 16 262144 hda16 3 17 262144 hda17 3 18 15728640 hda18 3 19 13178672 hda19 3 64 80043264 hdb 3 65 80035798 hdb1 fdisk v2.12r # fdisk -l Disk /dev/hda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 12748 102398278+ 7 HPFS/NTFS /dev/hda2 12749 15180 19535040 83 Linux /dev/hda3 15181 19004 30716280 a5 FreeBSD /dev/hda4 19005 38101 153396652+ 5 Extended /dev/hda5 19005 30477 92156841 7 HPFS/NTFS /dev/hda6 30478 31000 4200966 82 Linux swap / Solaris /dev/hda7 31001 33089 16779861 83 Linux /dev/hda8 33090 33515 3421813+ 83 Linux /dev/hda9 33516 34039 4208998+ 83 Linux /dev/hda10 34040 35354 10562706 83 Linux /dev/hda11 35355 36156 6442033+ 83 Linux /dev/hda12 36157 37372 9767488+ 83 Linux /dev/hda13 37373 38101 5855661 83 Linux Disk /dev/hdb: 81.9 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 1 9964 80035798+ 7 HPFS/NTFS GNU Parted 1.7.1 # parted /dev/hda print Disk /dev/hda: 320GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 105GB 105GB primary ntfs boot, , , , , , , , , type=07, , 2 105GB 125GB 20.0GB primary ext3 , , , , , , , , , type=83, , 3 125GB 156GB 31.5GB primary , , , , , , , , , type=a5, , 4 156GB 313GB 157GB extended , , , , , , , , , type=05, , 5 156GB 251GB 94.4GB logical ntfs , , , , , , , , , type=07, , 6 251GB 255GB 4302MB logical linux-swap , , , , , , , , , type=82, , 7 255GB 272GB 17.2GB logical ext3 , , , , , , , , , type=83, , 8 272GB 276GB 3504MB logical ext2 , , , , , , , , , type=83, , 9 276GB 280GB 4310MB logical ext2 , , , , , , , , , type=83, , 10 280GB 291GB 10.8GB logical ext2 , , , , , , , , , type=83, , 11 291GB 297GB 6597MB logical reiserfs , , , , , , , , , type=83, , 12 297GB 307GB 10.0GB logical ext3 , , , , , , , , , type=83, , 13 307GB 313GB 5996MB logical ext3 , , , , , , , , , type=83, , Information: Don't forget to update /etc/fstab, if necessary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702 User aj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=301702#c6 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |sliwa@blue.cft.edu.pl --- Comment #6 from Andreas Jaeger <aj@novell.com> 2009-02-26 02:55:43 MST --- I'm not seeing this on my 11.1 system. Could you test whether this still happens with 11.2, please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=301702 Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|sliwa@blue.cft.edu.pl | Resolution| |NORESPONSE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com