Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 10:56:37 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-current@freebsd.org
Subject:   memstick && Invalid partition table
Message-ID:  <20160607085637.GA3618@c720-r292778-amd64>

next in thread | raw e-mail | index | archive | help

Hello,

To move a compiled system and kernel to other, smaller device I produce
so called memsticks which are made with the script
/usr/src/release/amd64/make-memstick.sh

They do, i.e. booting fine and showing for example on a netbook Acer C720 in
/var/log/messages on attach:

Jun  7 10:35:43 c720-r292778-amd64 kernel: da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
Jun  7 10:35:43 c720-r292778-amd64 kernel: da0: <Ut165 USB2FlashStorage 0.00> Removable Direct Access SCSI-2 device
Jun  7 10:35:43 c720-r292778-amd64 kernel: da0: Serial Number 09022100003131
Jun  7 10:35:43 c720-r292778-amd64 kernel: da0: 40.000MB/s transfers
Jun  7 10:35:43 c720-r292778-amd64 kernel: da0: 7712MB (15794176 512 byte sectors)
Jun  7 10:35:43 c720-r292778-amd64 kernel: da0: quirks=0x2<NO_6_BYTE>

wnd with FDISK:

$ fdisk da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=983 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=983 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT)
    start 1, size 14683749 (7169 Meg), flag 0
	beg: cyl 0/ head 0/ sector 2;
	end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


If I use the fine memstick on some other laptop, in this case a Dell
Latitude E6330, it just says 'Invalid partition table!'

What could be wrong with it?

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
"Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer Gesellschaft bzw.
sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..." (jW 19.05.2016)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160607085637.GA3618>