LinuxQuestions.org
Visit Jeremy's Blog.
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 04-14-2016, 09:52 PM   #46
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,605

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772

Quote:
sudo grub-install -root-directory=/mnt /dev/sda
That's correct. The point I was making was in regard to the image you posted, post 26. In the image showing what you entered in the terminal you were not using sudo and you left out "/mnt" after --rooot-directory.

Quote:
Okay, everything went as planned. It said the bootloader was installed successfully. But when I remmoved the live CD and rebooted from the hard drive, the CD tray ejected (as if asking for the CD)
Generally on reboot, the CD tray will open and you remove the CD. If it opens again for whatever reason, ignore it. Putting the CD in and running the sudo update-grub command is pointless and the error message is telling you that you are trying to update grub on the CD. The CD is an iso9660 filesystem which means it is read-only. If you can boot to the installed system on the harddrive, run: sudo update-grub. There is not point in running it from the CD.

Quote:
I left it at that. And I did not attempt a full install.
Now that's confusing. Why are you trying to reinstall Grub if you don't have anything installed. Maybe I missed something in the numerous posts above but the commands you are referring to are for "re-installing" Grub. Have you read the information at the Ubuntu site below on Grub2?

https://help.ubuntu.com/community/Grub2/Installing
 
1 members found this post helpful.
Old 04-15-2016, 01:04 PM   #47
rd8006
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Rep: Reputation: 1
i use fedora on my old computer work find and can get 32 bit
 
Old 04-15-2016, 01:57 PM   #48
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
[QUOTE=rokytnji;5531359]
Quote:
Originally Posted by Gregg Bell View Post

I appreciate your honesty Greg. I hope you appreciate mine.

I really do wish you good luck. I like your honesty and tenacity. I hope you appreciate mine.
Hey rokytnji. Yes, I appreciate your honesty. Just to be absolutely clear though, I was kidding about your motorcyles and the "labor" and all. Sorry if I offended. If I did, I assure you it was completely unintentional.
 
Old 04-15-2016, 02:31 PM   #49
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by JenkinsCW View Post
@ Gregg Bell

I think you need a new hard drive. If you plan to buy a SATA drive, you can boot to a LiveCD and check which SATA type your system supports by typing the code below

Code:
dmesg | grep -i sata | grep 'link up'
In my system, the output is

[ 0.000000] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 0.000000] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 0.000000] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)

My system supports SATA ( 1.5 Gbps ), SATA II ( 3.0 Gbps ) and SATA III ( 6.0 Gbps ).

PS: I would also recommend getting a new DVD-ROM as well because ti can become tedious sticking a pin to open it.

Or better yet, get a raspberry PI 3 as a temporary solution until you buy a new and better desktop. The rasp PI 3 has a 1.2GHZ quad core and 1.5GB ram with wifi and bluetooth for $35. And more if you buy extras.
Thanks JenkinsCW. Yeah, it's starting to look like the hard drive is the culprit. I'm still trying a few last ditch things though to see if it's salvage-able. Thanks for the command. I'll use that if I bail on salvaging the hard drive.

I've got other computers I can use so don't need the PI 3 but thanks for suggesting it.
 
Old 04-15-2016, 03:13 PM   #50
HT-Borås
Member
 
Registered: Apr 2016
Location: Borås, Sweden
Distribution: CentOS
Posts: 54

Rep: Reputation: 18
[QUOTE=Gregg Bell;5529622]
"Recently I inherited a (crashed) Dell Optiplex GX520, which is only a year newer but it is 64 bit. Here are the specs:
...
And in terms of installing a linux distro, the computer does not seem to accept a USB flash drive for installation purposes and the CD tray does not eject."

My second computer happens to be an Optiplex GX520, 12 years old. After trying Lubuntu that never worked well and Mint, which demanded too much resources, I installed elementary OS (from a USB stick, it is available in the BIOS here). It is an excellent alternative - the computer is like new.
 
Old 04-15-2016, 05:38 PM   #51
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by JenkinsCW View Post
@ Gregg Bell

I think you need a new hard drive. If you plan to buy a SATA drive, you can boot to a LiveCD and check which SATA type your system supports by typing the code below

Code:
dmesg | grep -i sata | grep 'link up'
In my system, the output is

[ 0.000000] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 0.000000] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 0.000000] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)

My system supports SATA ( 1.5 Gbps ), SATA II ( 3.0 Gbps ) and SATA III ( 6.0 Gbps ).

PS: I would also recommend getting a new DVD-ROM as well because ti can become tedious sticking a pin to open it.

Or better yet, get a raspberry PI 3 as a temporary solution until you buy a new and better desktop. The rasp PI 3 has a 1.2GHZ quad core and 1.5GB ram with wifi and bluetooth for $35. And more if you buy extras.

I ran the command in the terminal. It didn't return anything. Hmm.
 
Old 04-15-2016, 05:42 PM   #52
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839
Quote:
Originally Posted by Gregg Bell View Post
I ran the command in the terminal. It didn't return anything. Hmm.
Hi Gregg...

How about this command...

Code:
dmesg | grep -iC 3 "sata"
I'm not sure if it will give the needed details but I thought it might be worth a try.

Regards...
 
1 members found this post helpful.
Old 04-15-2016, 05:48 PM   #53
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by yancek View Post
That's correct. The point I was making was in regard to the image you posted, post 26. In the image showing what you entered in the terminal you were not using sudo and you left out "/mnt" after --rooot-directory.



Generally on reboot, the CD tray will open and you remove the CD. If it opens again for whatever reason, ignore it. Putting the CD in and running the sudo update-grub command is pointless and the error message is telling you that you are trying to update grub on the CD. The CD is an iso9660 filesystem which means it is read-only. If you can boot to the installed system on the harddrive, run: sudo update-grub. There is not point in running it from the CD.



Now that's confusing. Why are you trying to reinstall Grub if you don't have anything installed. Maybe I missed something in the numerous posts above but the commands you are referring to are for "re-installing" Grub. Have you read the information at the Ubuntu site below on Grub2?

https://help.ubuntu.com/community/Grub2/Installing
Thanks yancek. Well... I got the grub installer because when I booted up (without the disc) it led to the 946 screenshot. Then I powered down. Then I put the live disk back in and booted up. It led to the live Bodhi and then I tried installing Bodhi again. This time it installed. Got the Disk Utility and turns out everybody was right--it's a bad hard drive (133 bad sectors).

So do I absolutely need a new hard drive?
Attached Thumbnails
Click image for larger version

Name:	20160414_121946.jpg
Views:	7
Size:	113.5 KB
ID:	21528   Click image for larger version

Name:	20160414_154527.jpg
Views:	8
Size:	72.6 KB
ID:	21529  
 
Old 04-15-2016, 05:56 PM   #54
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839
Quote:
Originally Posted by Gregg Bell View Post
So do I absolutely need a new hard drive?
Hi Gregg...

With 133 bad sectors (which I'm sure was the reason why you were unable to repair Windows 7,) I would highly recommend it.

Regards...

Last edited by ardvark71; 04-15-2016 at 05:58 PM. Reason: Added italics.
 
Old 04-15-2016, 06:15 PM   #55
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by ardvark71 View Post
Hi Gregg...

How about this command...

Code:
dmesg | grep -iC 3 "sata"
I'm not sure if it will give the needed details but I thought it might be worth a try.

Regards...
Thanks ardvark. It returned something. I don't really know what it means though. see screenshot

And I couldn't even get an email sent from Bodhi. Could that bad drive be affecting that too?

And so I ran Disks on the computer I'm using now and all it said is "Smart is not enabled." see the other screenshot. What does that mean?
Attached Thumbnails
Click image for larger version

Name:	20160414_162227.jpg
Views:	6
Size:	127.3 KB
ID:	21530   Click image for larger version

Name:	Selection_062.png
Views:	4
Size:	59.7 KB
ID:	21531  

Last edited by Gregg Bell; 04-15-2016 at 06:20 PM. Reason: tacking on a quetion
 
Old 04-15-2016, 06:39 PM   #56
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
[QUOTE=HT-Borås;5531746]
Quote:
Originally Posted by Gregg Bell View Post
"Recently I inherited a (crashed) Dell Optiplex GX520, which is only a year newer but it is 64 bit. Here are the specs:
...
And in terms of installing a linux distro, the computer does not seem to accept a USB flash drive for installation purposes and the CD tray does not eject."

My second computer happens to be an Optiplex GX520, 12 years old. After trying Lubuntu that never worked well and Mint, which demanded too much resources, I installed elementary OS (from a USB stick, it is available in the BIOS here). It is an excellent alternative - the computer is like new.
Thanks HT. Elementary looks cool. The GX520 is looking pretty hopeless but I will definitely try Elementary on a different computer.
 
Old 04-15-2016, 09:19 PM   #57
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839
Quote:
Originally Posted by Gregg Bell View Post
It returned something. I don't really know what it means though. see screenshot
Unfortunately, the information doesn't show what JenkinsCW was referring to.

Quote:
Originally Posted by Gregg Bell View Post
And I couldn't even get an email sent from Bodhi. Could that bad drive be affecting that too?
If the OS was installed on the hard drive, quite possibly. If running live, I doubt it.

Quote:
Originally Posted by Gregg Bell View Post
And so I ran Disks on the computer I'm using now and all it said is "Smart is not enabled." see the other screenshot. What does that mean?
You will need to enable S.M.A.R.T. to get the needed information concerning the hard drive. Please see the threads below for information on how to enable it...

https://help.ubuntu.com/community/Smartmontools

http://askubuntu.com/questions/20757...o-enable-smart

https://wiki.archlinux.org/index.php/S.M.A.R.T.

Regards...

Last edited by ardvark71; 04-15-2016 at 09:21 PM. Reason: Correction.
 
1 members found this post helpful.
Old 04-16-2016, 06:06 PM   #58
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by ardvark71 View Post
Unfortunately, the information doesn't show what JenkinsCW was referring to.



If the OS was installed on the hard drive, quite possibly. If running live, I doubt it.



You will need to enable S.M.A.R.T. to get the needed information concerning the hard drive. Please see the threads below for information on how to enable it...

https://help.ubuntu.com/community/Smartmontools

http://askubuntu.com/questions/20757...o-enable-smart

https://wiki.archlinux.org/index.php/S.M.A.R.T.

Regards...
OMG! That's what I love about Linux! Every thing you do in it you have to learn FIVE TONS OF INFORMATION! LOL ('Just read these three threads THAT WILL TAKE YOU TEN YEARS TO READ AND YOU WILL NOT UNDERSTAND 90% OF THEM!') Ah, I'm just joking with you, ardvark. I appreciate your help. It is kind of funny though. The other way was just open the Disks utility and it tells you and this way seems quite complicated. (This is SMART?)

Anyway, I'm thinking about opening up the GX520 and switching out the hard drive with another one of my computer's hard drives. I read about this $9 brand new hard drive on Newegg but it overheated (and burned the guy operating the computer to death). Okay, okay, I made that up about the guy dying, but it did overheat terribly (according to the review--and remarkably it was a 5* review! The guy was like 'I just bought a better fan...').

Hope you're enjoying the weekend. Nice here in Illinois.
 
Old 04-16-2016, 06:54 PM   #59
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839
Quote:
Originally Posted by Gregg Bell View Post
That's what I love about Linux! Every thing you do in it you have to learn FIVE TONS OF INFORMATION! LOL ('Just read these three threads THAT WILL TAKE YOU TEN YEARS TO READ AND YOU WILL NOT UNDERSTAND 90% OF THEM!') Ah, I'm just joking with you, ardvark. I appreciate your help. It is kind of funny though. The other way was just open the Disks utility and it tells you and this way seems quite complicated. (This is SMART?)
You're very welcome. I'm glad to be of help, even if it's what you don't want to hear!

Actually, it's not just Linux. When I first started working on computers, it took 8 hours a day, 5 days a week for about 3 months, (at a volunteer job I had) to get a good basic understanding of hardware and how to install an OS. Of course, there was a lot more to learn.

Quote:
Originally Posted by Gregg Bell View Post
Anyway, I'm thinking about opening up the GX520 and switching out the hard drive with another one of my computer's hard drives. I read about this $9 brand new hard drive on Newegg but it overheated (and burned the guy operating the computer to death). Okay, okay, I made that up about the guy dying, but it did overheat terribly (according to the review--and remarkably it was a 5* review! The guy was like 'I just bought a better fan...').
You can do that, that's one way of solving it.

I'd be curious to know what the normal price was. Something's wrong with a drive that gets that hot. This might be a case of the old adage proving true: "You get what you pay for."

Quote:
Originally Posted by Gregg Bell View Post
Hope you're enjoying the weekend. Nice here in Illinois.
Thank you, we're having partly cloudy weather here. Spring in western Oregon is normally quite rainy.

Regards...
 
1 members found this post helpful.
Old 04-17-2016, 01:29 PM   #60
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,868

Original Poster
Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by ardvark71 View Post
You're very welcome. I'm glad to be of help, even if it's what you don't want to hear!
No pain no gain.

Quote:
Originally Posted by ardvark71 View Post

Actually, it's not just Linux. When I first started working on computers, it took 8 hours a day, 5 days a week for about 3 months, (at a volunteer job I had) to get a good basic understanding of hardware and how to install an OS. Of course, there was a lot more to learn.
Good to hear. When I first was asking about Linux (in a different forum) a couple of people told me I wouldn't be able to learn it. I'm glad I didn't listen to them. When I first got it I was baffled by not having all the buttons. I remember dealing with: 'What is this 'mount' stuff when it comes to flash drives.' Now I know a lot but it's still so little.

Quote:
Originally Posted by ardvark71 View Post
You can do that, that's one way of solving it.
I could buy the cheapie but this way I'll learn a lot more.

Quote:
Originally Posted by ardvark71 View Post

I'd be curious to know what the normal price was. Something's wrong with a drive that gets that hot. This might be a case of the old adage proving true: "You get what you pay for."
I'm sure you're right. Plus they don't tell you the brand. Here's a link for a different cheap one. Have you ever heard of this website? Think it's reliable? https://www.discountelectronics.com/...rd-drive-80gb/ [/QUOTE]

Quote:
Originally Posted by ardvark71 View Post

Thank you, we're having partly cloudy weather here. Spring in western Oregon is normally quite rainy.

Regards...
Ha ha. I was out that way a couple of years ago. Visited Portland. But my fav was Cape Disappointment (just north of Portland in Washington). What a great name! And the waves! Breathtaking. I really liked it out there. Cool people. Not snooty at all. (And drivers stop at crosswalks! (I almost killed someone when I first got there! We don't do that in Illinois.) Courtesy--what a concept! But yeah, the rain. But when it was nice, it was PERFECT!
 
  


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
[SOLVED] Got a free computer. Is it worth saving? Gregg Bell Linux - Newbie 27 11-10-2015 06:58 AM
Newbie with an old computer - runs Window 95 - is it worth converting to Linux OS digitalpreimage Linux - Newbie 16 06-02-2008 04:22 PM
What is this computer worth? vegetassj2 General 11 02-27-2007 04:01 AM
Worth upgrade old computer? matt3333 Slackware 6 11-30-2003 12:47 AM
new computer - worth it? synaptical General 8 09-23-2003 07:07 PM

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

All times are GMT -5. The time now is 12:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration