LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2015, 09:09 AM   #1
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Rep: Reputation: 10
going back to windows 10


hi guys, i have a dell optiplex that i installed ubuntu studio onto. i used it for a while and then i got a laptop and put debian on the laptop which has become my main computer and i love debian. because i dont use the dell anymore for ubuntu i would like to install windows 10 on it because i have some windows programs that i use ( run on mac parrallels.... which i hate) i bought windows 10 on a usb ad tried to install it clean but it tells me its the wrong format. how can i reformat my dell hd back to the windows format so i can install windows 10 on it? is there a format utility on linux? i want to wipe everything on the drive and reformat for windows 10 so i dont need to partition and duel boot or anything like that. or maybe theres a trick in the bios that will format the drive in wiondows format? any ideas?
 
Old 08-06-2015, 09:41 AM   #2
auge
Member
 
Registered: May 2002
Location: Germany
Distribution: CentOS, Debian, LFS
Posts: 100
Blog Entries: 1

Rep: Reputation: Disabled
find the harddisk of the system with "sudo sfdisk -l"
You see something like:
Quote:
Festplatte /dev/sda: 13054 Zylinder, 255 Kpfe, 63 Sektoren/Spur
Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Gert boot. Anfang Ende #Zyl. #Blcke Id System
/dev/sda1 * 0+ 63- 64- 512000 83 Linux
/dev/sda2 63+ 13054- 12991- 104344576 8e Linux LVM
/dev/sda3 0 - 0 0 0 Leer
/dev/sda4 0 - 0 0 0 Leer
Then you just type sudo "dd if=/dev/urandom of=/dev/sda BS=1M"

After lets say 40 seconds just turn your system off and you are ready to install windows on a "factory new harddisk" (that is what its partition-tool tells itself during installation)
 
Old 08-06-2015, 11:55 AM   #3
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
Do I just restart normally or do I restart with f12 boot key pressed down
 
Old 08-06-2015, 12:03 PM   #4
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
dd: unrecognized operand BS=1M
Try 'dd --help' for more information.
francis@francis-OptiPlex-760:~$
 
Old 08-06-2015, 12:10 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 10,822

Rep: Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134Reputation: 5134
At one point, Windows setup will give you the option to repartition. At that point, remove all the partitions and then continue.
 
Old 08-06-2015, 12:12 PM   #6
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Current: Fedora and OpenSUSE. Past: Debian, Arch, RedHat (pre-RHEL). FreeBSD & OpenBSD, macOS (hack)
Posts: 1,235
Blog Entries: 7

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Code:
dd if=/dev/urandom of=/dev/sda bs=1M
Lowercase "bs"
 
Old 08-06-2015, 12:12 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
just remember to DISABLE the Microsoft "Big Brother" all your information is OURS very insecure settings

now once you do lock 10 down there will be a lot of things it will no longer be able to do
like be usable
 
Old 08-06-2015, 12:22 PM   #8
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
dd if=/dev/urandom of=/dev/sda bs=1M
dd: failed to open /dev/sda: Permission denied
 
Old 08-06-2015, 12:22 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,930

Rep: Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297
Most of the Ubuntu installation media will have the GParted partition manager on them so just use that to format as ntfs. I would think when you boot windows install media you would have an option to format but I haven't installed windows for years so, ...?
 
Old 08-06-2015, 12:34 PM   #10
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
thanks guys I think I got it. My problem was I wasn't deleting the partitions. Once I deleted the partitions it began to install
Now I have to check out the big brother thing. Is it really that messed up?
 
Old 08-06-2015, 01:46 PM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, MX Linux
Posts: 3,568
Blog Entries: 20

Rep: Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355
dunnery,

Yes, big time!

You will probably not be able to buy Web User magazine in the States, but the top right corner of the front cover holds a clue:

http://www.webuser.co.uk/

Last edited by beachboy2; 08-06-2015 at 01:49 PM.
 
Old 08-06-2015, 04:13 PM   #12
auge
Member
 
Registered: May 2002
Location: Germany
Distribution: CentOS, Debian, LFS
Posts: 100
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by goumba View Post
Code:
dd if=/dev/urandom of=/dev/sda bs=1M
Lowercase "bs"
okay, sorry, possibly lowercase, I was writing that out of my transient bio-memory
 
Old 08-06-2015, 05:07 PM   #13
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
It's all good guys. I got it installed and I took your advice and disabled all the weird data collection stuff at the beginning. I don't acytially need most of the stuff on windows 10. I just need it to run one of my programs and it does that fine. Again, thanks to all for your help
 
Old 08-06-2015, 05:42 PM   #14
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,281
Blog Entries: 4

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by dunnery View Post
It's all good guys. I got it installed and I took your advice and disabled all the weird data collection stuff at the beginning. I don't acytially need most of the stuff on windows 10. I just need it to run one of my programs and it does that fine. Again, thanks to all for your help
Hi...

Glad you got it installed. If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks!

Regards...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot get back to Windows tillymint Linux - Newbie 9 04-02-2008 08:53 AM
i need windows back seanz6688 General 37 03-01-2004 04:08 PM
Back to Windows Baz Linux - Newbie 13 02-17-2004 02:49 PM
Can't get Windows back!!!!!!!! NathanCohen2003 Mandriva 3 08-27-2003 01:45 PM
Cant get back into Windows : ( thetruevoice Linux - Software 3 09-07-2001 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration