[cochiselinux] Re: Update

  • From: Joseph Meditz <joseph.meditz@xxxxxxxxx>
  • To: cochiselinux@xxxxxxxxxxxxx
  • Date: Mon, 20 Nov 2017 14:24:42 -0700

Hi Charles,
I am no Linux expert.  All I can offer is what I would do.

First:
I would check to see what is on your unreadable drive.  To do this you will
need a SATA to USB adapter.

https://www.amazon.com/SATA-Adapter-Cable-Power-Cord/dp/B001OOT804

Open your PC.  Disconnect the two plugs on the HD.  Plug in the adapter
plugs in their place. Bring over your Ubuntu laptop, and plug the USB end
into the laptop.  You should be able to see all of your data directories.
You can even open a text file you saved at some point and read it on your
laptop.  If all this is OK, go to the second step.

Second:
"Ubuntu 16. anybody have a way to fix this without reformatting the disc
and loosing all the data on the drive?  Thanks, charles"

Yes, get hold of another drive.  Unplug the adapter and then plug the SATA
and power plugs from you mother board into this new drive.  (There is no
need to unscrew the old one.  Leave all the mechanical stuff in place for
now. )  Then do a fresh install on the new drive. (This is a good time to
get a Solid State drive.)  You should be able to boot OK.

Third:
Now you can remove the old drive, and put the new one in its place
connecting it to wires from the motherboard that used to go to the old
drive.  Then do one of the following:

a) Connect the adapter to the old drive and plug it into a USB board on
your PC with the new Ubuntu installation, and copy your data directories to
the new drive.  You can save the old drive in a box in a closet, which you
will never look at again.
b) You can keep the old drive in place, but change the boot order, or you
swap the positions of the old and new drive and leave the boot order alone.
This will obviate the need to copy all your data files.  But I'll leave
this for one of the CLUG's Linux mavens to walk you through it.

You mentioned different versions of Ubuntu as well as Mint partitions your
email.  That being the case, it is hard for folks to fix the problem at a
distance over email.

Cheers,
Joe












On Mon, Nov 20, 2017 at 9:06 AM, Charles Breaux <chazbreaux@xxxxxxxxx>
wrote:

Thanks Bruce, but I don't know enough to venture into your suggestions.

I have found numerous fixes for the the grub rescue, they are all
different and some rather involved. I have attached some of these, do you
have an opinion on which of these would be advisable?

And, worst case scenario:  I have a time shift back up on the HD which I
assume I could access using a live DVD. Do you know where I can find that
back up file, and could I use it that file to reinstall 16.04 after I
reformat the drive. How would I install that file?

Thanks, another nuked nubie...




On Sun, Nov 19, 2017 at 1:40 PM, HateNo Hama <hateno.hama@xxxxxxxxx>
wrote:

Hi Charles.  Yeah, working with live partitions can be adventurous.  I'll
try to give you the solution I would use, but I don't remember the exact
commands or file names and locations, so some of this will be up to you.

Step 1 is to boot the live DVD, but don't install. Just get to a desktop.

Step 2 is to mount your root partition.  In the unlikely event you have
made a separate /boot partition, you will need to mount that too.  I would
open a terminal window to do this, but whatever tool works for you.  The
commands to mount your root partition will likely be something like:

"mkdir /mnt/myroot"
"mount -t auto /dev/sda1 /mnt/myroot"

Step 3 is to edit your grub conf or grub boot file.  This is either in
something like
/mnt/myroot/boot/grub
or a symlink in
/mnt/myroot/etc/default
or /mnt/myroot/etc/grub,
something like that.
Look for grub.conf, grub.boot, boot.grub, you get the idea.

Find the stanza with the partition you want to boot into, and change the
number to either 1 or 0, depending on the grub you use.  It is probably 1,
though, for the newer grub versions. You should not need to run
update-grub, as you would need to be chrooted to myroot.  You should not
need to edit grub chrooted to myroot.

Step 4 is to reboot and cross your fingers.  If it still doesn't boot,
repeat these steps and double check your grub stanzas.

I think this will get you across the finish line.  Your stuff is still
there, grub just needs to know where it is.

Bruce


On Nov 20, 2017 1:21 AM, "Charles Breaux" <chazbreaux@xxxxxxxxx> wrote:

HELP, I got a big problem!  I had 3 partitions, I deleted the one with
Mint, and now my ubuntu 16.04 wont' boot. get this error: no such
partition. entering rescue mode...grub rescue>


I researched online but, man this is way over my head. This is one thing
I found but I've learned the hard way not to do commands when you don't
understand what you're doing....like the post I followed to delete a
partition—which never mentioned loosing the boot info!!!


Working off boot DVD, I used gpart to delete the Mint partition, then
resized the ubuntu 16.04 to include that partition, but got a message that
to complete the resize might injure the boot info, so I clicked on undue
the resize. But, when I tried to boot got the grub rescue prompt.



anyway, there seems to be a lot of different ways to do this according
to the posts I have researched, all kinds of complicated commands etc that
I have no understanding of. I also will want to either delete or downsize
the partition with ubuntu 14 on it. I think part of the problem might be
that 16.04 was the last partition i added. On the gpart menu it is on the
right of the box/graph that shows the relative size of the partition....


Can anyone walk me through this? I really need my computer back! Sure
would hate to have to reformat the HD and reinstall everything!


Thanks,

On Sat, Nov 18, 2017 at 11:36 AM, Charles Breaux <chazbreaux@xxxxxxxxx>
wrote:

Thanks, I did figure out...

On Sat, Nov 18, 2017 at 11:31 AM, Devi Garcia <
asphyxiated.god@xxxxxxxxx> wrote:

Looks like the exfat module or drivers were uninstalled just reinstall
em and should work

On Nov 18, 2017 11:24 AM, "Charles Breaux" <chazbreaux@xxxxxxxxx>
wrote:

[image: Inline image 1]
Got this error message when I plugged in my ext back up drive. I've
been using this drive with Ubuntu for several years, never had this 
problem
before. Other drives with exfat still mount.
Ubuntu 16. anybody have a way to fix this without reformatting the
disc and loosing all the data on the drive?  Thanks, charles

On Fri, Nov 17, 2017 at 2:55 PM, Rex Bouwense <majb@xxxxxxxxxx>
wrote:

The next CLUG sponsored installfest will be on 20 January 2018,
10-4pm at the University of Arizona South Learning Resource Center, 1140
N. Colombo Avenue, Sierra Vista
<https://maps.google.com/?q=1140+N.+Colombo+Avenue,+Sierra+Vista&entry=gmail&source=g>.
Make plans now to attend and assist others in installing and enjoying a
Linux operating system.

We were able to reserve the Sierra Vista public library conference
room for our Saturday meetings in 2018.  Therefore we will meet there on
every 4th Saturday of each month in the calendar year 2018, 1:00-3:30pm.
Put the dates on your calendar and plan to attend.

Rex Bouwense
--------------------------------------------------------------------
Cochise Linux Users Group Mailing List - cochiselinux@xxxxxxxxxxxxx
For more information:  http://www.cochiselinux.com
To unsubscribe: //www.freelists.org/list/cochiselinux






PNG image

Other related posts: