LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-08-2020, 08:02 PM   #91
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled

ok hell I'm seeing it. If I tell fsck to fix things I could lose the entire partition right?

I bet it happened because I resized the drive. I dunno why that's not safe.

What about this- what if I do an install where everything is in the 100 gig parition? So it'll have it's on little /home in there, and the corrupt partition will mount at something else random like /oldhome?
 
Old 02-08-2020, 08:04 PM   #92
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
well- or even safer- I could not even tell the installer to give it a mount point; to tell it to just leave it alone. Then after boot I could manually mount it each time I boot?
 
Old 02-08-2020, 08:08 PM   #93
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
make a backup of the files on the drive that are important to you then run the fsck.

Last edited by colorpurple21859; 02-08-2020 at 08:10 PM.
 
Old 02-08-2020, 08:13 PM   #94
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
make a backup of the files that are important to you on the drive, then run the fsck.
Ok maybe I'll order a backup drive; but hypothetically the all-in-one 100 gig plan with it's own /home in there sounds reasonable right? I mean surely it doesn't need to check every partition on the disk just to boot? I can see how it would need to check the ones with automatic mount points in fstab, but if the disk has like some obscure little parition somewhere with a bad fs that's not even in fstab then it wouldn't care right?

As exemplified by me running on a live iso...
 
Old 02-08-2020, 08:14 PM   #95
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
on a side not it wasn't you swap file, so you can revert all the changes you did in regard to the swap file.
 
Old 02-08-2020, 08:16 PM   #96
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
just copy the files that are important to you to a usb or somewhere on the root partition temporarily. Run fsck if all goes well your done, if not your files are backed up and you have a little more work to do to get the system booting correctly.

Last edited by colorpurple21859; 02-08-2020 at 08:18 PM.
 
Old 02-08-2020, 08:20 PM   #97
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
just copy the files that are important to you to a usb or somewhere on the root partition temporarily.
I don't have enough room man. It's actually complicated- Some of it all is backed to the cloud but figuring out what is and what isn't is going to take like a week or more. Well and/or having to pull it all back down if I need to is going to take so much time and cost so much bandwidth. It's like 1.7 tb's.

So here- given two next moves- which is safer- to let fsck do stuff or to try the reinstall all in one partition so the installer ignores the other ones? Gotta be the latter right?
 
Old 02-08-2020, 08:36 PM   #98
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
It has been awhile since I did this, goes something like this You will have to do it from the live iso, mount /dev/sda3 at /mnt edit the /mnt/fstab, mkdir /mnt/home, mkdir /mnt/home/<your home> run the commands to chroot into the system, chown <your user> /home/<your home>
exit and reboot.
might have to recreate the Documents, Downloads, other folders once your booted into your system.

Last edited by colorpurple21859; 02-08-2020 at 09:11 PM.
 
Old 02-08-2020, 08:40 PM   #99
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Haha no that sounds way more shaky than just reinstalling right? I mean I bet the installer puts settings stuff in your home directory on install?

There's nothing on the 100 gig root partition I need to keep (it was empty when I began all this madness), so I'm thinking I'll just nuke it and reinstall from scratch only let it have it's own /home.

Unless you see that as high risk for some kind of disaster?

and/or is there anything I should do before trying (deleting the ubuntu directory in efi as you mentioned yesterday)

Last edited by Rotwang2; 02-08-2020 at 08:51 PM.
 
Old 02-08-2020, 09:14 PM   #100
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
I tried it in a vm the Documents, Downloads, other folders where created automatically.
 
Old 02-08-2020, 09:16 PM   #101
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
mean I bet the installer puts settings stuff in your home directory on install?
No, configfiles and directories are created in the home directory the first time you log in.
 
Old 02-08-2020, 09:20 PM   #102
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
No, configfiles and directories are created in the home directory the first time you log in.
Well is there a fear that if I reinstall I'll have the same EFI problems? Or was it not efi all along but really just the corrupt drive?

(because remember the pc is incapable of legacy including that csm was turned off)
 
Old 02-08-2020, 09:23 PM   #103
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
and/or is there anything I should do before trying (deleting the ubuntu directory in efi as you mentioned yesterday)
Not sure what you mean by this question. If I'm reading this right the answer is no. The problem all along had nothing to do with grub bootloader, efi/legacy mode, or the efi partition. The problem is your /home partition, which you will have to do something with it eventyually before the fs gets so corrupted you loose your files on it.
 
Old 02-08-2020, 09:24 PM   #104
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Not sure what you mean by this question. If I'm reading this right the answer is no. The problem all along had nothing to do with grub bootloader, efi/legacy mode, or the efi partition. The problem is your /home partition, which you will have to do something with it eventyually before the fs gets so corrupted you loose your files on it.
perfect! that's ironically the exact thing I wanted to hear. ok I'm gonna eat and then bite the bullet and to the 100g plan.
 
  


Reply



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
How do I reinstall Grub and Efi (or Uefi) on my external HDD after I accidentally deleted the partition. Choklit Linux - Software 4 12-24-2019 03:42 PM
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
[SOLVED] Can't find /boot/efi/EFI/Slackware/vmlinuz kernel configuration ironQiu Slackware 4 02-09-2015 06:21 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Can I delete and reinstall Ubuntu 8.04 and keep a home partition? win_to_lin_migrant Ubuntu 4 01-18-2009 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:36 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