LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-27-2015, 04:02 PM   #16
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by Head_on_a_Stick View Post
Are "Secure Boot" and "UEFI" enabled in your firmware (BIOS) settings?

If your disk has a GUID partition table then you will need to have UEFI mode & Secure Boot enabled; if it is an MBR-type disk then the `dd` command will wipe the bootloader.

If your Mint system is booting in UEFI mode then you will need to delete the entry in your motherboard's NVRAM using the `efibootmgr` command I gave (prefix it with `sudo`).
ill check in the bios now hold up.
 
Old 03-27-2015, 04:03 PM   #17
Amarildo
Member
 
Registered: Jun 2014
Posts: 176

Rep: Reputation: Disabled
Quote:
Originally Posted by theycallmereece View Post
reece@reece-SATELLITE-C50-A-1DV ~ $ sudo fdisk
[sudo] password for reece:
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks

Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
-h print this help text
-u[=<unit>] display units: 'cylinders' or 'sectors' (default)
-v print program version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track

same thing ?
i give up i guess im stuck with linux -_-
You're not issuing the command correctly. 'fdisk' is just a program, you need to tell it what to do. Example: "fdisk -l" will list all devices such as HD's and CD's.

Here's my output, as a reference:

Quote:
XX@XX:~$ su -
Password:
root@XX:~# fdisk -l

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xec497085

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1936750591 1936748544 923.5G 83 Linux
/dev/sda2 1936752638 1953523711 16771074 8G 5 Extended
/dev/sda5 1936752640 1953523711 16771072 8G 82 Linux swap / Solaris

root@XX:~#
As seen above, my HardDrive is "/dev/sda", so I want to execute dd on it to erase the MBR:

Code:
dd if=/dev/zero of=/dev/sda bs=512 count=1
Then:
Code:
# efibootmgr -b * -B
But remember to keep a backup of your MBR BEFORE doing the commands above:

Code:
dd if=/dev/sda of=/home/your-username/mbr bs=512 count=1
Then to restore it (in case the UEFI command above doesn't work):

Code:
dd if=/home/your-user/mbr of=/dev/sda bs=512 count=1
A little tutorial on DD:

"if=/" means the input. It could be a JPG image, or "/dev/zero". dd will then read that file which cotains only "0000000000000". Or if it's the jpg image it will write it on the "of=/output", which again, could be any device you want.

of=/output means the output, it could be a HDD, a fash drive, a partition... make sure to list them correctly before issuing the DD command as it will literaly destroy data if issued wrong.

bs= tells 'dd' what blocksize it will write. The MBR is only 512 bytes, so that's what we tell it to do.

count= well, this is pretty simple. Unless we want to fill the entire drive, we tell dd to write that 512byes of zeroes just once.

So for example, if I have a JPG image that I want to fill in my flash drive, I'd first discover where that image is, e.g /home/amarildo/Pictures/mypicture.jpg . Let's assume now that my flash drive is "/dev/sdb". So, in order to fill that flash drive with the picture, I select the picture as INPUT and the drive as OUTPUT. Pretty simple, right?

Code:
dd if=/home/amarildo/Pictures/mypicture.jpg of=/dev/sdb

Last edited by Amarildo; 03-27-2015 at 04:05 PM.
 
1 members found this post helpful.
Old 03-27-2015, 04:08 PM   #18
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
My laptop is now f***ed every time I boot up it says no bootable device please restart system :'(
 
Old 03-27-2015, 04:13 PM   #19
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,097
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by theycallmereece View Post
My laptop is now f***ed every time I boot up it says no bootable device please restart system :'(
Now is the time to boot the Windows 8 install DVD.
 
Old 03-27-2015, 04:17 PM   #20
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Now is the time to boot the Windows 8 install DVD.
Tried to it said "checking media..." "[fail]

Last edited by theycallmereece; 03-27-2015 at 04:21 PM.
 
Old 03-27-2015, 04:24 PM   #21
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
It lets me install my Ubuntu disk and Linux mint 17.1 but not my windows disk :/

Last edited by theycallmereece; 03-27-2015 at 04:25 PM.
 
Old 03-27-2015, 04:30 PM   #22
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by theycallmereece View Post
It lets me install my Ubuntu disk and Linux mint 17.1 but not my windows disk :/
Your Windows disk must be damaged.

Can you get a new copy?

You can download an ISO image of Windows 10 legally from here:
http://windows.microsoft.com/en-gb/windows/preview-iso

Be warned that it has an active key-logger (read the licence agreement)...
 
1 members found this post helpful.
Old 03-27-2015, 04:36 PM   #23
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Head_on_a_Stick View Post
Your Windows disk must be damaged.

Can you get a new copy?

You can download an ISO image of Windows 10 legally from here:
http://windows.microsoft.com/en-gb/windows/preview-iso

Be warned that it has an active key-logger (read the licence agreement)...
That's exactly what I'm downloading on my old desktop haha, thanks guys. If this works.. I'm sure this will work. Thank you !!!
 
Old 03-27-2015, 05:49 PM   #24
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
If I may say so... You are in the wrong forum for your question. No offense meant, but if I was in your shoes I would post in a Windows forum to ask questions on how to install windows.

Anyways, have you looked at your laptop manual? Nowadays most laptops ship with a recovery partition that allows you to do a factory reset using a certain key combination at boot time...
 
Old 03-27-2015, 06:11 PM   #25
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
I literally signed up and posted that forum without looking sorry. I would like to thank you all for your help because my laptop is running windows 10 perfectly. Your life savers ! I expected to receive a reply within a couple of days but you guys where really quick, so I thank you very Muchly!

Last edited by theycallmereece; 03-27-2015 at 06:13 PM.
 
Old 03-27-2015, 06:16 PM   #26
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Really hope you did not overlook this very true warning:
Quote:
Originally Posted by Head_on_a_Stick View Post
Be warned that it has an active key-logger (read the licence agreement)...
Unlike in the Linux World, you cannot expect to get things for free from MS... You pay with your private data.
But I guess that's your call at the end of the day. Good luck
 
1 members found this post helpful.
Old 03-27-2015, 06:19 PM   #27
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by joe_2000 View Post
Really hope you did not overlook this very true warning:


Unlike in the Linux World, you cannot expect to get things for free from MS... You pay with your private data.
But I guess that's your call at the end of the day. Good luck
I'm so use to windows though, I understand what your saying but I find Linux hard to get use to, I used it for a few days and disliked it, maybe I'll find a Linux version that's right for me one day...
 
Old 03-27-2015, 06:34 PM   #28
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by theycallmereece View Post
I'm so use to windows though, I understand what your saying but I find Linux hard to get use to, I used it for a few days and disliked it, maybe I'll find a Linux version that's right for me one day...
It certainly can't be right for everyone. But if you decided to give it a try there must have been one reason or another.
So the way I see it it's a pity that you only ever signed up with LQ to get help with uninstalling Linux, rather then signing up a few days earlier and getting help with the things you were struggling with.
If one day you decide to give it another go, make sure to come back here and ask for advice, possibly even before installing so as to make sure that you choose the right distro to begin with.
 
1 members found this post helpful.
Old 03-27-2015, 06:37 PM   #29
theycallmereece
Member
 
Registered: Mar 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by joe_2000 View Post
It certainly can't be right for everyone. But if you decided to give it a try there must have been one reason or another.
So the way I see it it's a pity that you only ever signed up with LQ to get help with uninstalling Linux, rather then signing up a few days earlier and getting help with the things you were struggling with.
If one day you decide to give it another go, make sure to come back here and ask for advice, possibly even before installing so as to make sure that you choose the right distro to begin with.
I'll sure be back tomorrow for help dual booting Linux and windows. That way I have the best of both worlds. I need to learn how to install things on Linux the terminal is hard to use/understand. But I will definitely be usining it again. Which forum should I post in/look through tomorrow to help dual boot and beginners guide for Linux ?
Thanks in advance.
(Ps I disabled the key logger with a few commands)

Last edited by theycallmereece; 03-27-2015 at 06:39 PM.
 
Old 03-27-2015, 06:55 PM   #30
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Exclamation

Hi Reece...

The copy of Windows 10 you installed is a technical preview, I don't think it will last indefinitely. I'm pretty sure at some point Microsoft will disable it or certain features at some point. Your best bet would be to restore Windows 8 from your hard drive's restore partition, if it's still there and your DVD isn't working correctly.

If not and your system is still under warranty, give the manufacturer a call and see what your options are. If it's not under warranty, take it to a local repair shop and have them install it.

Regards...

Last edited by ardvark71; 03-27-2015 at 07:04 PM. Reason: Correction.
 
  


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
LXer: Linux-on-the-desktop pioneer Munich now considering a switch back to Windows LXer Syndicated Linux News 1 08-19-2014 05:13 AM
[SOLVED] cannot switch back to windows part of pc, no way to fix internet in mint13? graybeard19 Linux - Newbie 33 10-31-2013 10:19 AM
how to switch back and forth to windows/linux pungvarg Linux - Newbie 13 03-27-2007 10:48 AM
Can't switch back to Windows jcthei Linux - Software 4 02-14-2006 07:38 AM
Cant switch back to or double-boot windows carocrazy123 Linux - Hardware 3 10-15-2005 06:35 PM

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

All times are GMT -5. The time now is 12:48 AM.

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