Ask Your Question
0

why USB drive cannot boot from Fedora machine but can from Windows machine?

asked 2016-02-06 22:17:52 -0500

fedorauser001 gravatar image

updated 2016-02-07 20:48:21 -0500

mether gravatar image

I have WD Mypassport 500GB USB removable disk. I installed Fedora 20 on it. it works fine when I boot it with my Windows machine but I cannot boot it with my Fedora machine.

If I attached it to my Fedora machine, I got the following information. The USB disk is the sdb:

# fdisk -l

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000284b3

Device    Boot     Start       End    Blocks  Id System
/dev/sda1 *         2048   1026047    512000  83 Linux
/dev/sda2        1026048 976773119 487873536  8e Linux LVM


Disk /dev/mapper/fedora-root: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/fedora-swap: 7.8 GiB, 8338276352 bytes, 16285696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/fedora-home: 407.5 GiB, 437553987584 bytes, 854597632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sdb: 465.1 GiB, 499405291520 bytes, 975400960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0008658d

Device    Boot     Start       End    Blocks  Id System
/dev/sdb1 *         2048   1026047    512000  83 Linux
/dev/sdb2        1026048 975400959 487187456  8e Linux LVM

From the "lsblk":

# lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT                                                              
sda               8:0    0 465.8G  0 disk 
├─sda1            8:1    0   500M  0 part /boot
└─sda2            8:2    0 465.3G  0 part 
  ├─fedora-root 253:0    0    50G  0 lvm  /
  ├─fedora-swap 253:1    0   7.8G  0 lvm  [SWAP]
  └─fedora-home 253:2    0 407.5G  0 lvm  /home
sdb               8:16   0 465.1G  0 disk 
├─sdb1            8:17   0   500M  0 part /run/media/bow/b9e8c04d-2d7a-4d1d-ba07-9d22c6446a28
└─sdb2            8:18   0 464.6G  0 part

When I try to mount the sdb2, I got the following unknown filesystem type 'LVM2_member' error:

# mount /dev/sdb2 /run/media/bow
mount: unknown filesystem type 'LVM2_member'

I don't know if above error is the cause of cannot boot from it or not?

If I use lvdisplay, I found there is no logical volumes from the USB disk, sdb. All logical volumes are from sda. I think it may be not right.

# lvdisplay
  --- Logical volume ---
  LV Path                /dev/fedora/swap
  LV Name                swap
  VG Name                fedora
  LV UUID                LDrE32-3rWO-X1Yb-I4E2-nSZR-LzLd-OQFwXN
  LV Write Access        read/write
  LV Creation host, time localhost, 2016-02-06 15:24:09 -0500
  LV Status              NOT available
  LV Size                7.77 GiB
  Current LE             1988
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  --- Logical volume ---
  LV Path ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-02-07 04:17:09 -0500

paulojmlopes gravatar image

My guess is that they have the same name of lvm volume group. I see two options: 1. change the volume group name of one of the disks: http://wiki.networksecuritytoolkit.org/nstwiki/index.php/HowTo_Change_The_LVM_Volume_Group_Name_That_Includes_The_Root_Partition

  1. reinstall the usb disk width diferent volume group name.
edit flag offensive delete link more

Comments

I have reinstalled it with custom disk option. thanks

fedorauser001 gravatar imagefedorauser001 ( 2016-02-08 08:35:30 -0500 )edit

Question Tools

Stats

Asked: 2016-02-06 22:17:52 -0500

Seen: 75 times

Last updated: Feb 07 '16