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

Re: Install from writeable USB



Your first post was to debian-user. Your reply was sent to debian-boot,
where most people on this list will not see it. The reply has been made
visible by bouncing it to -user. Please ensure any further mails come
here.


On Sun 31 May 2015 at 16:48:51 -0700, Charles wrote:

> The results from
> 
> fdisk -l /dev/sdb
> 
> after:
> 
> dd if=/dev/zero of=/dev/sdb bs=4M count=60 && sync
> dd if=debian-7.8.0-[arch]-netinst.iso && sync
> 
>  for both a i386 and amd64 netinst image, correct?

Yes.

> for an i386 netinst ISO:
> 
> Disk /dev/sdb: 15.5 GB, 15502147584 bytes
> 64 heads, 32 sectors/track, 14784 cylinders, total 30277632 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 identifier: 0x178e0fca
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *          64      567295      283616   17  Hidden HPFS/NTFS

1. Create a second partition with fdisk or cfdisk. Mount the partition
   and copy preseed.cfg to it.

2. Boot into the installer. Select expert mode from the Advanced menu.

3. Press TAB and add file=/mnt/preseed.cfg to end of the displayed
   command.

4. Boot the kernel.

5. At the first screen switch to a console (ALT-F2). 'ls -l /dev/sdb*'                                               
   should help identify the second partition on the USB stick. Mount
   this partition; e.g: mount -t vfat /dev/sdc2 /mnt.

6. Proceed with the install.

> For an amd64 netinst ISO:
> 
> Disk /dev/sdb: 15.5 GB, 15502147584 bytes
> 255 heads, 63 sectors/track, 1884 cylinders, total 30277632 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 identifier: 0x42a6671b
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           0      454655      227328    0  Empty
> /dev/sdb2            3440        4335         448   ef  EFI (FAT-12/16/32)
> 
> Both look somewhat odd, but not so bad.
> 
> I'd prefer using the amd64 image, if it gets that far.  The Dells are all 64-
> bit.

As above, but make sure the third partition starts after the end of the
first partition.


Reply to: