0

So I just got that new laptop which is DOS free and I'd like to install Windows and Ubuntu for gaming and work. Problem is I don't have any other computer available for now and the only OS I have is Kali Linux on a bootable USB stick. So I'd like to know if it's possible to make a bootable USB stick from Kali Linux and how!

I know UNETbootin however I don't know which distribution I should get or even the commands. If I only need the iso file, please teach me the commands I need to use to make it work. (And which commands I should use to install unetbootin if possible)

What I have :

  • The new laptop which doesn't have an OS --> dos free (only have access to bios).
  • A bootable USB stick with Kali Linux on it.
  • Another USB stick that I'd like to make bootable with Windows if possible (then I know how to do when I have Windows to get Ubuntu in addition).
10
  • Please clarify what you have and what you need. If the only computer you have is the new laptop, and you have Kali Linux on USB stick, that must already be a bootable USB stick, right? Recommendations of distributions are pretty much off-topic as everyone has a different opinion. Commented Aug 3, 2016 at 12:47
  • ...and what do you mean by "DOS free"? It's been a more than a decade since anything was bundled with anything that had anything to do with DOS... Commented Aug 3, 2016 at 12:48
  • It's DOS free because it costed 200$ less and I already have a windows key so I would like to download it from internet to install it. Commented Aug 3, 2016 at 13:03
  • You must be using DOS in some meaning that is not familiar to me. So you have a laptop without an OS, ok. Commented Aug 3, 2016 at 13:08
  • Have you looked at solutions provided with search? unix.stackexchange.com/search?q=bootable+usb+%09is%3Aanswer Commented Aug 3, 2016 at 13:11

2 Answers 2

1

Creating a bootable USB drive is the same on Kali as it is on Ubuntu or any other Linux distro. First, you must plug in your USB drive and figure out what drive is (/dev/sda, /dev/sdb, ect.). You could use a program like GParted or you could just use the command fdisk -l. Next make sure that your USB drive is not mounted by using the command

$ umount /dev/sdx 

where /dev/sdx is your USB drive

After you know this, you can use the dd command to write the image to the drive.

$ dd if=/path/to/file.iso of=/dev/sdx bs=512k 

Just be sure that you don't write to a partition of the drive (aka /dev/sdx1). This could result in corruption.

0

I've created a script get the job done especially for you <3

all you have to do is type this down in the terminal:

git clone https://gist.github.com/c2205135f27e5377bf0f7101182256a2.git cd c2205135f27e5377bf0f7101182256a2 chmod +x windows_usb_via_linux.sh ./windows_usb_via_linux.sh 

make sure that:

  • your kali connected to the internet.
  • Your other USB stick is inserted & mounted to your machine.

the script will do the following automatically:

  1. download the ventoy image boot utility & install it to your other USB stick.
  2. download the windows iso image & move it to your other USB stick.

Now, after you see the massage:

[*] Done creating your windows installation media Sucsessfully. 
  1. Reboot your laptop & boot from the other USB (Windows).

  2. choose WIN10_x64.iso and boot in normal mood.

enter image description here

And have a nice time with the regualr windows installation :)

Tip: If want to have windows alongside any Linux distribution, make sure that you done setting up your partition table (using gparted from your live booted Kali) and created a partition for windows, other for Linux, and one for your data.

1
  • Please include the contents of the script in your answer (and while you’re at it, fix it so that it works — the Ventoy installation script doesn’t end up in the current directory). We’ve seen attempts in the past to post useful scripts in this fashion, only for the scripts to be changed later to install cryptominers etc., so it’s better for readers if the script is visible in the post here. Commented Sep 3, 2024 at 10:22

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.