Re: memstick && Invalid partition table
By the way, as far as I understand, fdisk(8) is long depreciated now, superseded by the gpart(8). Somebody needs to pick a big shiny axe and root it out for good. -Max On Jun 8, 2016 1:43 AM, "Matthias Apitz"wrote: > El día Tuesday, June 07, 2016 a las 09:15:03AM -0400, Allan Jude escribió: > > > > 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 > > > > > > > To fix the partition table to be the size of your memstick do: > > > > gpart recover da0 > > this gave 'da0 recovering is not needed' > > > > > > > If this does not work, try this (specific to some models of Dell > > Latitude and some HPs): > > > > gpart set -a active da0 > > this worked, partition is now 'flag 80 (active)' and the stick boots > fine; > > thanks for your help; > > matthias > > -- > Matthias Apitz, ✉ g...@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) > ___ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: memstick && Invalid partition table
El día Tuesday, June 07, 2016 a las 09:15:03AM -0400, Allan Jude escribió: > > 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 > > > > To fix the partition table to be the size of your memstick do: > > gpart recover da0 this gave 'da0 recovering is not needed' > > > If this does not work, try this (specific to some models of Dell > Latitude and some HPs): > > gpart set -a active da0 this worked, partition is now 'flag 80 (active)' and the stick boots fine; thanks for your help; matthias -- Matthias Apitz, ✉ g...@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) ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: memstick && Invalid partition table
On 2016-06-07 04:56, Matthias Apitz wrote: > > 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: > Removable Direct Access SCSI-2 device > Jun 7 10:35:43 c720-r292778-amd64 kernel: da0: Serial Number 0902213131 > 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 > > 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: > > The data for partition 3 is: > > The data for partition 4 is: > > > > 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 > To fix the partition table to be the size of your memstick do: gpart recover da0 If this does not work, try this (specific to some models of Dell Latitude and some HPs): gpart set -a active da0 -- Allan Jude ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
memstick && Invalid partition table
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: Removable Direct Access SCSI-2 device Jun 7 10:35:43 c720-r292778-amd64 kernel: da0: Serial Number 0902213131 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 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: The data for partition 3 is: The data for partition 4 is: 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, ✉ g...@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) ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"