#I have an old hdd drive with Windows 10. Am I able to dual boot Linux Mint without losing my data?

354 messages · Page 1 of 1 (latest)

gilded remnant
#

Linux Mint Cinnamon. I have the latest Rufus installation and these are my settings. Using a 16gb Sandisk USB

inner lake
#

make sure to boot the live usb up in that same bios mode

gilded remnant
#

it says UEFI

#

Should i use Windows Disk Management to allocate space on the drive?

inner lake
#

u may

#

otherwise mint gives a sizer to do it

#

but u MUST get and use the "install alongside" option

#

ensure that's done precisely as shown - post with hearts

#

then scroll to very top , 2nd vid for demo

inner lake
gilded remnant
#

its been here for over 3 hours

#

it's a pretty old harddrive

inner lake
#

an install to HDD, should take about 26 minutes

gilded remnant
#

i can't. it's greyed out and shows a colorful pinwheel

inner lake
#

even a 14 yrs old drive

#

oh i know what musta happened then

#

open the gparted app

#

click the hdd in the top right, and then show the app

gilded remnant
inner lake
#

alright well it did write about 10 n half gigs (a complete amount)

#

do ctrl-alt-T

#

then df -h

#

does it mention a line about efivars?

gilded remnant
#

yes

inner lake
#

ok good, that means ur in uefi mode

#

do xkill then click the installer after pressing enter

gilded remnant
#

i did that. now it's closed

inner lake
#

yep.

#

do a reboot, no usb. take the stick out when it prompts to.

#

you can use the start menu's icon for power to reboot

gilded remnant
#

so i boot to my 2nd drive still which has windows and now mint i guess?

inner lake
#

you'll test it. I predict it'll need boot repair. but do it anyway

gilded remnant
#

alright. removing usb and gonna reboot. brb

inner lake
#

remove it when it prompts u to, not beforehand

#

or when u see the eventual cycling of power

gilded remnant
#

yea i just reread that part. can i plug it back in?

inner lake
#

sure bit late but ok

gilded remnant
#

like i unplugged it already

inner lake
#

the live system does not like when the live medium is removed before a full shutdown

gilded remnant
#

So what should I do? 😬

inner lake
#

press ctrl-alt-backspace

#

if it takes u to a login manager screen, then click in the top, i think there's a power icon to reboot/shutdown there

gilded remnant
inner lake
#

lesson learned. dont pull usb

#

ok force reset

#

by holding the power key for 6 seconds. and NO USB in

gilded remnant
#

Which drive?

#

Im in bios

#

Or whatever the boot manager is called

inner lake
#

does it show in boot priorites, a loader with name: ubuntu ?

#

disable csm / legacy anyway if there.

#

set boot mode to pure UEFI if not already

gilded remnant
inner lake
#

ok shut it down

#

that's more of a boot menu, not really BIOS

gilded remnant
#

I went into bios and switched it to UEFI alone

inner lake
#

put usb back in, and start the live system again (as UEFI, ofc)

#

once booted to desktop, search boot repair in the start menu of Mint live.

#

let it do the recommended repair.

#

then safely reboot and test if it solves.

gilded remnant
#

It says the partition is nearly full and can prevent it from starting. Then it's saying to use the file browser and delete unused files

inner lake
#

what showed the message?

#

The Boot Repair app?

gilded remnant
#

Yes

inner lake
#

this is how it was 10 minutes ago

#

show it now.

#

can just use a camera

#

if u dont want to log in

#

otherwise use the ALT+Printscr keys together

gilded remnant
inner lake
#

the EFI partition is sda5, fyi

#

and it's not too full. it's perfectly normal

#

sda6 is your linux install's root

#

close the boot repair tool

#

and close gparted

#

open terminal.

#

sudo umount /dev/sda5 && sudo umount /dev/sda6

#

sudo fsck /dev/sda5

#

once done, sudo fsck /dev/sda6

#

that should find/fix any size or filesystem errors.

#

then run boot repair tool again

gilded remnant
inner lake
#

yes it's one string

#

three lines, shown in the code highlights

gilded remnant
#

Pasted the first one and it said /dev/sda5 is not mounted

inner lake
#

go on

inner lake
gilded remnant
inner lake
#

ignore that

gilded remnant
#

so press ok?

inner lake
#

so u should know how many disks u have on the system

gilded remnant
#

Yeah i gotta look into the file system to understand this better haha

inner lake
#

search disks in the start menu

#

see just what the dang hell sdb is

#

click any device on the left, and see the titlebar

gilded remnant
#

Boot repair successfully repaired

inner lake
#

ayyye

#

now jsut hang on

#

do in terminal... lsblk -o name,type,model,label,size,fsused,fsavail,mountpoint and show

#

all one line

#

@gilded remnant

gilded remnant
inner lake
#

you have a SATA SSD there. it's damn near full.

#

actually, nvm .

gilded remnant
#

That's my main drive

inner lake
#

it's not mounted, so can't tell (columns are empty)

#

anyway, try booting now. (do a full and safe SHUTDOWN)

gilded remnant
#

Booting from the USB?

inner lake
#

nope

#

hit your boot menu key on restart

#

u should see the ubuntu loader. start that

#

should take about a minute n quarter to boot Mint from a HDD

gilded remnant
#

Umm it's saying my ssd has ubuntu

inner lake
#

dw.

#

fire it up.

gilded remnant
#

My files are still there?

inner lake
#

u never said u had a SSD stuck in the system

#

if u had, I'd have told u to take it out

#

but doesnt matter. all it means is now the EFI of the SSD is starting the show for both OS's

gilded remnant
inner lake
#

likely

gilded remnant
#

I'm gonna boot windows first

#

everything is still here

#

super glad

inner lake
#

now test the Mint

#

u should get grub menu . just let it countdown n autostart

#

does Mint install boot @gilded remnant ?

gilded remnant
#

Gonna boot now

#

Do i use the exit command

inner lake
#

sure

#

or type 'normal'

#

one of the two

#

if that doesnt work, shutdown the pc. take out the SSD. reinstall Linux Mint.

#

and tag here for help cuz that sda is some funny ass shit.

#

and it really only takes 26 minutes.

#

@gilded remnant

gilded remnant
#

Alright it just took me to the boot device menu again(Windows or Ubuntu). I'm tired and will try again tomorrow. Thanks for the help today. True Linux fanatic

gilded remnant
#

im back. so remove ssd, leaving just the old hdd i have in it(it has windows). do i need the usb again with mint?

inner lake
#

I'd like to see the hard drive partitioning style

#

You'll need to reinstall Linux btw

gilded remnant
#

To the USB stick?

inner lake
#

no to the hard drive

gilded remnant
#

So how do I uninstall it?

inner lake
#

do you even use Windows 10 from the hard drive?

gilded remnant
#

No

#

I just don't want to format the drive bc I want to keep the files

inner lake
#

i'd recommend moving the stuff around a bit

gilded remnant
#

To another drive?

inner lake
#

no

#

too many partitions on it

gilded remnant
#

I created a partition on the HDD already

inner lake
#

show the DISKS app for it in linux

gilded remnant
#

I can't boot Linux anymore. It shows the grub menu

inner lake
#

in the live desktop

inner lake
gilded remnant
#

What's the live desktop?

inner lake
#

when u boot the usb

#

u reach the live thing

#

aka 'boot live'

gilded remnant
#

So remove my ssd now and then do that?

inner lake
#

yes

gilded remnant
inner lake
#

normal

#

that's the LIVE grub menu. (note the option for OEM Install) that's how you know

gilded remnant
#

Got it. Do I start Linux mint?

inner lake
#

also, why's your camera so out of focus

#

yes boot

gilded remnant
#

Shitty Android

#

I'm in. Opening disks

inner lake
#

click the play button

#

then reshow

gilded remnant
inner lake
#

click the one labelled "partition 2" then the play button. then click on the blue link

#

what's in that?

gilded remnant
inner lake
#

link

gilded remnant
inner lake
#

that's for partition 2 eh?

gilded remnant
#

Yes

inner lake
#

ok close file manager

#

then click the stop button for those 2 u just mounted

gilded remnant
#

Done

inner lake
#

select each, and use the red button

gilded remnant
#

Done

#

5 and 6 disappeared

inner lake
#

good

#

cose it

#

run installer

#

use "something else"opton

gilded remnant
inner lake
#

clk free space first

#

then click the + icon to make an EFI partition

#

make it 100 MB and put the USE AS: field to 'efi sys. part'n

#

then , back on the main chart, click the free space yet again, and + again

#

to make the linux root

#

USE as: ext4 journalling filesys. mountpoint: / format: yes

#

lastly on main chart, at very bottom u'll need to change that dropdown to the new EFI partition u just made

gilded remnant
#

Made the efi partition. I clicked the free space and + again.vdo I change the use as setting? It says ext4 journaling file system

inner lake
gilded remnant
#

I was going step by step and stopped reading lol

inner lake
#

fix the mount point as i said twice

#

wait

#

wtf.

gilded remnant
#

Clicked okay and now I'm waiting to be able to check the format box

inner lake
#

ALL the f'n partitions must be primary

gilded remnant
#

Oh it auto selected

inner lake
#

NOT LOGICAL please

#

click the change button n fix

gilded remnant
#

So revert both efi and this one?

inner lake
#

yes

#

sample

gilded remnant
#

Both are set to primary

inner lake
#

ok fix the bootloader now

#

the bottom field there

gilded remnant
#

Sda2?

#

Or 3

inner lake
#

sda2

gilded remnant
#

Sda1? That's where my Windows files are isn't it

inner lake
#

i said that's a sample!!

#

it clearly says, mark it to where the EFI IS

gilded remnant
#

Oh

#

Silly me

#

It'll install on 100mb?

inner lake
#

the bootloader field. yes

#

show final pic

gilded remnant
inner lake
#

good. click the install now button

#

make sure to not use an overly-complex password cuz u need it often in linux.

gilded remnant
inner lake
#

and remember it well/ write it

gilded remnant
#

Press continue?

inner lake
#

give it 25 minutes, and dont even breathe on the usb stick.

gilded remnant
#

Encrypt home folder or no?

#

Got it. I'll go play cards

inner lake
#

absolute NO

#

wait. open DIsks app

#

once it starts the install process

gilded remnant
#

I did

inner lake
#

nvm

gilded remnant
#

Will report back

inner lake
#

i was just puzzled why it showed sda2 there as ext4. but DISKS shows the truth now.

gilded remnant
#

Super quick

inner lake
#

ay that was quick

#

about 20 min

#

yes restart now

#

make sure it boots to the real install

#

u should get a welcome window

gilded remnant
#

Signed in and I'm on the homescreen

#

Now I see the welcome

inner lake
#

ok. so the only messup now is likely to clean up the ubuntu junk it threw on the EFI of the Windows SSD

#

i'd recommend do a full shutdown.

#

reconnect the SSD.. boot LIVE with usb again.

inner lake
#

@gilded remnant u there?

gilded remnant
#

Doing it now

#

Usb and ssd in

inner lake
#

then go to the Disks app

#

click the Adata SSD, then the EFI partition on that same drive. then the play button , then the blue link. and show the resulting file manager

gilded remnant
#

Which one is that on this list? SanDisk or

inner lake
#

u dont already know?

#

u booted live at least 2 times already

gilded remnant
#

The HDD one?

#

Or usb

inner lake
#

no the USB

gilded remnant
#

Starting Linux Mint

inner lake
#

right click the EFI folder

#

'open as root' and then show

gilded remnant
inner lake
#

highlight ubuntu and press Shift+Delete keys

#

so it removes it

gilded remnant
#

Done /deleted

inner lake
#

now, reboot out of the live system. go into BIOS : access the boot priorities screen

#

adjust the boot order so that the Ubuntu (capital U) from WDC drive is at very top

#

then save n exit the BIOS setup page

gilded remnant
#

Yep it's already there

inner lake
#

ok try it out n then gotta adjust grub so it will include the Windows loader

#

boot Mint from the WD drive, and tag me once at desktop

gilded remnant
#

I signed in on Linux and I'm not seeing any grub stuff

#

Still loading tho

#

Welcome screen again

#

From the hdd

inner lake
#

ok.

#

do df -h at terminal

#

confirm it shows the efivars mention

gilded remnant
#

It does

inner lake
#

do lsblk -f maximized terminal

#

ensure it lists all drives

gilded remnant
#

I see SDA and 1-3 then SDB with 1-4

inner lake
#

lsblk -o name,model,fstype,mountpoint

#

show .

gilded remnant
#

Alright yeah it shows both drives

inner lake
#

ok so now, do sudo xed /etc/default/grub

gilded remnant
#

My dumbass put show as part of the command at first lol

inner lake
#

maximize the editor

#

putt the timeout to =10 (or longer if you wish more seconds)

#

and timeout_style to =menu

#

then save the file n exit the editor.

#

then sudo update-grub and watch it carefully the terminal

gilded remnant
#

Generating grub config

inner lake
#

did it say found windows?

gilded remnant
#

Yes

#

Done

inner lake
#

good. if it's done, sudo reboot

gilded remnant
#

Launch mint or Windows

#

Im in the gnu grub menu

inner lake
#

whichever

gilded remnant
#

Cool that it auto loads me here instead of me having to load pressing my keyboard

#

I'll test Windows first i guess

inner lake
#

it's because GRUB , which lives on partition 2 here, of Western Digital drive is being used to launch either OS on the system

gilded remnant
#

Hell yeah that's convenient. Thanks a bunch man

#

Also I realized a bit ago of your wwe username

inner lake
#

u may want to show result of efibootmgr

#

yes it is = )

gilded remnant
#

How do I do the efibootmgr part

inner lake
#

from linux terminal

#

also keep your Rufus USB physically labelled and stored in a safe common place. it's your best rescue drive in case of any boot issues

#

u can still add files to its data partition if need as common storage

gilded remnant
#

Will do. I'll just keep it in my closet

inner lake
#

put it on a keychain/ necklace/ shoelace

#

show efibootmgr

gilded remnant
#

Booting mint to do that now

inner lake
#

u probably still have the old lowercase ubuntu listing

gilded remnant
#

I don't see a lowercase Ubuntu just upper

inner lake
#

oh.. in that case, nevermind then

#

the uppercase one should be indicating a HD-0 ; DOS- 2 disk

#

since your HDD is in MBR/DOS partitioning style, and partion 2 of it is the loader

gilded remnant
#

Is showing my user bad?

inner lake
#

just never mind does it yes or no?

gilded remnant
#

Hd(2,mbr

inner lake
#

there u go. done.

#

follow that and use our #1295728709306683482 for lot of noob how-to's and getting familiar

gilded remnant
#

Hell yeah. Much appreciated. Your time and patience was of great value. 🙏