[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booting a CF or SD card from an internal card reader



Brian <ad44@cityscape.co.uk> writes:

> 1. This HOWTO is a result of the discussion on debian-user beginning at

Thanks a lot for this document because it hits a problem I found many
months ago without solution for me. I would like to use my internal card
reader (Lenovo X240) to boot in tails (https://tails.boum.org)

My reader appears this way:

====================================================================
~ $ lsusb
Bus 001 Device 003: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
====================================================================

The sd card with tails on appears this way:

====================================================================
leandro@tricheco:~$ sudo fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/mmcblk0: 7,4 GiB, 7969177600 bytes, 15564800 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: gpt
Disk identifier: F12D15CF-2FC3-4852-8226-9D4F7E625B29

Device         Start     End Sectors  Size Type
/dev/mmcblk0p1  2048 5122047 5120000  2,5G EFI System
====================================================================

Following your document I edited /etc/grub.d/40_custom adding these
lines:

====================================================================
menuentry 'Tails on CF card' {
	insmod part_msdos
        insmod ext2
        echo "Running nativedisk command. Please wait."
        nativedisk
        search --label --set=root TAILS
        linux /vmlinuz root=LABEL=TAILS ro
        initrd /initrd.img
}
====================================================================

But it is not working.

If I give the "nativedisk" command in grub command line I get only

====================================================================
(ahci0)
====================================================================

Where am I wrong?


[...]


-- 
leandro
1A0B 125B 2E4D 2DAE 4E26  4551 88FB BBCC 7A29 640B
https://bbs.cybervalley.org/ChiaveLeandro/gpg.html
http://6xukrlqedfabdjrb.onion
La caratteritica principale dei miracoli è che non accadono

Attachment: signature.asc
Description: PGP signature


Reply to: