Guest User

Untitled

a guest
Dec 16th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. # Dell OS Recovery Tool Under Linux Mini-HOWTO
  2.  
  3. Since I was unable to find a specific answer to how can one create a Dell recovery disk from within Linux, I decided to write the steps here.
  4.  
  5. If you write the CD image directly to the USB drive (or create a new partition and write it there), the laptop will not boot. You need your USB
  6. media to be in FAT32 format with the contents of the recovery ISO.
  7.  
  8. 1. Download the recovery ISO from the support section of Dell website.
  9. 2. Insert a USB Drive with enough capacity to hold the contents of the ISO image.
  10. 3. Format the drive and create a filesystem where `$USB_DEVICE` is your USB drive (check with `fdisk -l`, it may be
  11. something like `/dev/sdb`) :
  12. ```
  13. # parted $USB_DEVICE
  14. (parted) mklabel msdos
  15. (parted) mkpart primary fat32 0% 100%
  16. (parted) quit
  17. # mkfs.vfat -n DellRestore ${USB_DEVICE}1
  18. ```
  19.  
  20. 4. Copy the contents of the ISO file to the new FAT32 partition:
  21.  
  22. ```
  23. # mkdir /mnt/{source,target}
  24. # mount -o loop,ro ~/Downloads/2DF4FA00_W10x64ROW_pro\(DL\)_v3.iso /mnt/source
  25. # mount ${USB_DEVICE}1 /mnt/target
  26. # rsync -r /mnt/source/. /mnt/target/
  27. # umount /mnt/source
  28. # umount /mnt/target
  29. ```
  30.  
  31. 5. Reboot and start your machine from the USB drive.
  32.  
  33. This should have been obvious, but I've spent a few hours testing various ways to boot from that ISO
  34. (unetbootin, writing the image directlry to drive, writing to first partition), so I hope it is going
  35. to be useful to somebody else as well.
Add Comment
Please, Sign In to add comment