Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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`).
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:
"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?
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...
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.
Really hope you did not overlook this very true warning:
Quote:
Originally Posted by Head_on_a_Stick
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
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...
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.