Bug 708061 - Anaconda could not detect partitions
Summary: Anaconda could not detect partitions
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-26 16:28 UTC by Sergio Belkin
Modified: 2012-04-12 14:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 701130
Environment:
Last Closed: 2012-04-12 14:38:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
storage.log (booting with nodmraid) (1.33 MB, text/plain)
2011-05-26 18:25 UTC, Sergio Belkin
no flags Details
/tmp/program.log (booting with nodmraid) (309.89 KB, text/plain)
2011-05-26 18:26 UTC, Sergio Belkin
no flags Details
/tmp/anaconda.log (Boot with nodmraid) (10.40 KB, text/plain)
2011-05-26 18:28 UTC, Sergio Belkin
no flags Details
The anaconda log from Fedora 16 (9.36 KB, text/x-log)
2012-04-09 13:18 UTC, John Anderson
no flags Details
Screenshot of Anaconda vs Diskutility (119.77 KB, image/png)
2012-04-09 13:20 UTC, John Anderson
no flags Details
Program.log (86.68 KB, text/x-log)
2012-04-10 03:20 UTC, John Anderson
no flags Details
storage.log (240.09 KB, text/x-log)
2012-04-10 03:21 UTC, John Anderson
no flags Details

Description Sergio Belkin 2011-05-26 16:28:17 UTC
+++ This bug was initially created as a clone of Bug #701130 +++

Created attachment 496051 [details]
/tmp/syslog

Description of problem:
I've tried using LiveUSB created with a liveusb-creator.. 


How reproducible:
Every time

Steps to Reproduce:
1. Create a LiveUSB with  liveusb-creator 
2. Boot on an already partitioned disk (with ntfs and ext[34] partitions created by other distro (eg Mandriva)
3.Try to install to hard disk
  
"The storage device below may contain data"

and

"We could not detect partitions or filesystems on this device"


But Partition tool from F15 outside of installer can see the partition with no problems!

Additional info:


Disk layout:

Disco /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080

Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
/dev/sda1   *           1        3824    30716248+   7  HPFS/NTFS
/dev/sda2            3825       10438    53126955   83  Linux
/dev/sda3           14226       19324    40957717+   b  W95 FAT32
/dev/sda4           10439       19452    72404955    5  Extendida
/dev/sda5           10439       13009    20651526   83  Linux
/dev/sda6           13010       14225     9767488+  83  Linux
/dev/sda7           19325       19452     1028128+  82  Linux swap / Solaris

Las entradas de la tabla de particiones no están en el orden del disco



Message logs:

May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: sdb
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sdb1
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk device: sr0
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: sda
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sda1
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sda2
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sda3
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sda4
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sda5
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sda6
May 26 09:23:14 localhost storage: MultipathTopology: found non-disk
device: sda7
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop0
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop1
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop2
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop3
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop4
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop5
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop6
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: loop7
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: dm-0
May 26 09:23:14 localhost storage: MultipathTopology: found singlepath
device: dm-1
May 26 09:23:14 localhost storage: devices to scan: ['sdb', 'sdb1',
'sr0', 'sda', 'sda1', 'sda2', 'sda3', 'sda4', 'sda5', 'sda6', 'sda7',
'loop0', 'loop1', 'loop2', 'loop3', 'loop4', 'loop5', 'loop6',
'loop7', 'dm-0', 'dm-1']
May 26 09:23:14 localhost program: Running... modprobe scsi_wait_scan
May 26 09:23:14 localhost program: Running... rmmod scsi_wait_scan
May 26 09:23:14 localhost program: Running... udevadm settle --timeout=300
May 26 09:23:14 localhost program: Running... modprobe scsi_wait_scan
May 26 09:23:14 localhost program: Running... rmmod scsi_wait_scan
May 26 09:23:15 localhost program: Running... udevadm settle --timeout=300

Comment 1 Chris Lumens 2011-05-26 17:06:52 UTC
Please attach /tmp/anaconda.log, all of /tmp/storage.log, and /tmp/program.log.  Thanks.

Comment 2 David Lehman 2011-05-26 17:07:58 UTC
Also, in the future, please open new bugs using the "New" link near the top left of the bugzilla page instead of cloning existing bugs unless there is a good reason to be cloning the bug.

Comment 3 Sergio Belkin 2011-05-26 18:25:15 UTC
Created attachment 501160 [details]
storage.log (booting with nodmraid)

Comment 4 Sergio Belkin 2011-05-26 18:26:43 UTC
Created attachment 501161 [details]
/tmp/program.log (booting with nodmraid)

Comment 5 Sergio Belkin 2011-05-26 18:28:00 UTC
Created attachment 501162 [details]
/tmp/anaconda.log (Boot with nodmraid)

Comment 6 Sergio Belkin 2011-05-26 18:29:39 UTC
(In reply to comment #2)
> Also, in the future, please open new bugs using the "New" link near the top
> left of the bugzilla page instead of cloning existing bugs unless there is a
> good reason to be cloning the bug.

Ok, I will take it in account!

Comment 7 Brian Lane 2011-05-27 20:57:02 UTC
What does the output of parted -l look like? And could you attach /var/log/messages as well.

Comment 8 Chuck Ebbert 2011-06-16 11:07:45 UTC
(In reply to comment #3)
> Created attachment 501160 [details]
> storage.log (booting with nodmraid)

17:34:33,939 DEBUG storage: removed disk sda (id 3) from device tree
17:34:33,939 DEBUG storage: lvm filter: adding sda to the reject list
17:34:33,939 DEBUG storage: device 'sda' in ignoredDisks

It never says why, but it examined sda and didn't like it.

Comment 9 Chuck Ebbert 2011-06-16 11:12:27 UTC
(In reply to comment #9)

> Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
> /dev/sda1   *           1        3824    30716248+   7  HPFS/NTFS
> /dev/sda2            3825       10438    53126955   83  Linux
> /dev/sda3           14226       19324    40957717+   b  W95 FAT32
> /dev/sda4           10439       19452    72404955    5  Extendida
> /dev/sda5           10439       13009    20651526   83  Linux
> /dev/sda6           13010       14225     9767488+  83  Linux
> /dev/sda7           19325       19452     1028128+  82  Linux swap / Solaris
> 
> Las entradas de la tabla de particiones no están en el orden del disco
> 

"The entries in the partition table are not in disk order."

Logical partition sda3 is inside of extended partition sda4, I think that's the first time I've seen anything like that. Usually out-of-order partitions are all primary or extended.

Comment 10 Brian Lane 2011-06-16 15:58:46 UTC
It looks like storage can't figure out what kind of disklabel is on sda. The output from parted -l should show this. The output from blkid might also be useful. Please attach that info to this bug.

Comment 11 John Anderson 2012-04-09 13:17:49 UTC
I have this same problem with Fedora 16.

Comment 12 John Anderson 2012-04-09 13:18:34 UTC
Created attachment 576211 [details]
The anaconda log from Fedora 16

Comment 13 John Anderson 2012-04-09 13:19:43 UTC
[liveuser@localhost ~]$ parted -l
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.         
Ignore/Cancel?

Comment 14 John Anderson 2012-04-09 13:20:37 UTC
Created attachment 576212 [details]
Screenshot of Anaconda vs Diskutility

Comment 15 David Lehman 2012-04-09 16:37:03 UTC
(In reply to comment #12)
> Created attachment 576211 [details]
> The anaconda log from Fedora 16

Please attach the following log files individually:

 storage.log
 program.log
 
Along with the output of dmesg.

Thanks.

Comment 16 Brian Lane 2012-04-09 17:27:12 UTC
You also need to run parted -l and blkid as root. su - will get you there from a live install.

Comment 17 John Anderson 2012-04-10 03:18:25 UTC
[root@localhost ~]# parted -l
                                                                         Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table.
However, it does not have a valid fake msdos partition table, as it should.
Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables.  Or perhaps you deleted the GPT table, and are now using an
msdos partition table.  Is this a GPT partition table?
                                                                         Yes/No? Yes
Model: ATA WDC WD3200BEVT-6 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End  Size  File system  Name  Flags


Model: Linux device-mapper (snapshot) (dm)
Disk /dev/mapper/live-osimg-min: 4295MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  4295MB  4295MB  ext4


Model: Linux device-mapper (snapshot) (dm)
Disk /dev/mapper/live-rw: 4295MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  4295MB  4295MB  ext4


                                                                         Warning: Unable to open /dev/sr0 read-write (Read-only file system).
/dev/sr0 has been opened read-only.
                                                                         Error: Invalid partition table - recursive partition on /dev/sr0.

Comment 18 John Anderson 2012-04-10 03:18:55 UTC
[root@localhost ~]# blkid 
/dev/loop0: TYPE="squashfs" 
/dev/loop1: TYPE="DM_snapshot_cow" 
/dev/loop2: TYPE="squashfs" 
/dev/loop3: LABEL="_Fedora-16-i686-" UUID="c99f1bac-dc78-4182-9b0d-09a37acb9075" TYPE="ext4" 
/dev/loop4: TYPE="DM_snapshot_cow" 
/dev/sda1: LABEL="System Reserved" UUID="668E59BA8E598409" TYPE="ntfs" 
/dev/sda2: UUID="A6705F93705F6957" TYPE="ntfs" 
/dev/mapper/live-rw: LABEL="_Fedora-16-i686-" UUID="c99f1bac-dc78-4182-9b0d-09a37acb9075" TYPE="ext4" 
/dev/mapper/live-osimg-min: LABEL="_Fedora-16-i686-" UUID="c99f1bac-dc78-4182-9b0d-09a37acb9075" TYPE="ext4"

Comment 19 John Anderson 2012-04-10 03:20:53 UTC
Created attachment 576371 [details]
Program.log

Comment 20 John Anderson 2012-04-10 03:21:33 UTC
Created attachment 576372 [details]
storage.log

Comment 21 John Anderson 2012-04-10 03:22:12 UTC
The current partitions were straight from Windows7, I did a clean install and then tried to install Fedora on top of it.

Comment 22 John Anderson 2012-04-10 03:26:44 UTC
I think the issue is Fedora16 uses GPT and I had Fedora16 on this disk by itself... so then when I formatted and installed windows7, windows didn't wipe out all the GPT information, so now that I'm trying to put F16 back on its confused about the mix of GPT and MBR

Comment 23 Brian Lane 2012-04-10 16:15:25 UTC
That's what it looks like. If you're not trying to dual boot you can use wipefs -a /dev/sda to remove the gpt information from it and try a clean install again.

Comment 24 John Anderson 2012-04-10 16:52:43 UTC
Yeah, I ended up to doing parted and running mklabel msdos on it and then re-installing and everything worked.

Comment 25 Brian Lane 2012-04-12 14:38:12 UTC
This will not be a problem in the next release, parted now requires a valid PMBR partition so it will default to msdos in this scenario.


Note You need to log in before you can comment on or make changes to this bug.