Author Topic: How about a Utilities Menu?  (Read 1209 times)

Offline Truthfinder

  • Full Member
  • ***
  • Posts: 157
How about a Utilities Menu?
« on: January 24, 2010, 12:15:21 PM »
I was thinking what might be nice would be a Utilities Menu as a Grub menu selection. Perhaps to set up the video, check drives for errors ,etc.

I would have really been grateful  for something like this many times. I'm not that familiar with Linux and don't remember all the Linux commands.  What do you folks think?

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5324
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: How about a Utilities Menu?
« Reply #1 on: January 24, 2010, 01:53:28 PM »
What is wrong with the Utilities folder that is on the desktop. You have the options to install video drivers, sound, date & time, repair boot record, network, openoffice, create live remaster, etc.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Truthfinder

  • Full Member
  • ***
  • Posts: 157
Re: How about a Utilities Menu?
« Reply #2 on: January 24, 2010, 06:24:11 PM »
I'm talking about  situations where you can't access the desktop because of something gone wrong, System or Hard drive crash or a hardware change (video card, sound card, etc).
« Last Edit: January 24, 2010, 06:35:53 PM by Truthfinder »

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5324
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: How about a Utilities Menu?
« Reply #3 on: January 24, 2010, 06:30:02 PM »
I'm talking about  situations where you can't access the desktop because of something gone wrong, a hardware change (video card, sound card, etc).

Ahh I understand now.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9662
  • I'm Just A Dog.
Re: How about a Utilities Menu?
« Reply #4 on: January 24, 2010, 08:36:15 PM »
When at the grub menu, pick "Safe Mode" and if the system will boot, you will be at a command prompt to do the dirty work. Video setup at least for example, using the command "video" no quotes of course.


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

dtrud0h

  • Guest
Re: How about a Utilities Menu?
« Reply #5 on: January 28, 2010, 06:03:31 PM »
Also when under safe mode or command prompt you can use Midnight Commander ( command = mc ) as a graphical file manager, and drakconf to bring up the main config menu.  USE CARE, if you use these tools.

Offline Truthfinder

  • Full Member
  • ***
  • Posts: 157
Re: How about a Utilities Menu?
« Reply #6 on: January 28, 2010, 06:21:37 PM »
I probably should have called this "Restore" or "Repair" instead of a Utilities Menu. I've had several occasions where I couldn't get to the desktop because of video problems or hard drive errors, etc. 
I thought that if there was a Grub menu option to run scripts or the required programs  to  diagnose and perhaps repair those types of problems it might be useful.

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9662
  • I'm Just A Dog.
Re: How about a Utilities Menu?
« Reply #7 on: January 28, 2010, 07:04:28 PM »
Truthfinder ,
 Are you having a specific problem that you need help with?


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Truthfinder

  • Full Member
  • ***
  • Posts: 157
Re: How about a Utilities Menu?
« Reply #8 on: January 28, 2010, 08:35:45 PM »
Thanks for asking.
Everything was fine until last week when I installed a newer  kernel (31).  When I rebooted I could no longer boot into my PclinuxOS or XP.    Ended up re-installing PclinuxOs. Everything was fine for a few days and then I tried booting into XP do enter some tax information for my son's taxes and got grub error 15.  I tried rewriting the MBR,  redoing the MBR from the Livecd but no luck either.

The Livecd showed two copies of root whenever I viewed then in Konqurer ?  Messed up my root partition I guess. Ended up re-installing everything.   I may have been able to check the root partition but I never figured out exactly how to do it.

What's strange is when I tried updating my wife's which already had the newer kernel (31)  Synaptic told me it needed to be removed. I said ok and whenever I rebooted her computer PClinuxOs wouldn't boot either. I had to reinstall PclinuxOs  on her's too.

Ithink I discovered my WindowsXP problem now. Grub insists on adding these entries to my Menu.lst for my WindowsXp entry.

root (hd0,4)
# removed because couldn't boot!
# map (0x81) (0x80)
# map (0x80) (0x81)

# I manually Changed it to after the last install.  So far so good...
root (hd0,0)
makeactive
chainloader +1

So I guess you could say I've had some problems.
That's what gave me the idea for a "Repair" option on the livecd Grub menu.  In order to Check partitions, run PCC , etc. I thought it would be very helpful for newbies and I'm sure it wouldn't be that difficult to implement for someone who is more experienced with Linux.

Edit:  I'm not sure on my wife's if it was whenever i tried to update or when I tried installing some files for the Logitech web cam (which still doesn't work) she got for her birthday the her's messed up.
« Last Edit: January 28, 2010, 08:46:09 PM by Truthfinder »

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: How about a Utilities Menu?
« Reply #9 on: February 01, 2010, 12:32:49 PM »
When at the grub menu, pick "Safe Mode" and if the system will boot, you will be at a command prompt to do the dirty work. Video setup at least for example, using the command "video" no quotes of course.

I have never messed with this command. I have always loaded the LiveCD and then copied the config info from it to the config file on the hard drive and then rebooted to the hard drive and my GUI fired right up with no video issues.

Offline Truthfinder

  • Full Member
  • ***
  • Posts: 157
Re: How about a Utilities Menu?
« Reply #10 on: February 01, 2010, 03:12:01 PM »
It wouldn't boot from the hard drive period.  Evidently the hard drive with containing the root partition  was corrupt.   I could only boot from the livecd.  If the livecd had a repair option the user could try and check his hard drive, setup his video, etc from the livecd.  Just a thought...

Grub had my primary boot partition as root (hd0,4) instead of root (hd0,0) and had added those two map statements to the XP section of menu.lst.

root (hd 0,4)
map (0x81) (0x80)
map (0x80) (0x81)

So I couldn't boot into XP either.

I don't know how it had gotten do messed up,  I had not had any severe crashes or anything.

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11528
  • ----IOFLU----
Re: How about a Utilities Menu?
« Reply #11 on: February 01, 2010, 03:50:44 PM »
It wouldn't boot from the hard drive period.  Evidently the hard drive with containing the root partition  was corrupt.   I could only boot from the livecd.  If the livecd had a repair option the user could try and check his hard drive, setup his video, etc from the livecd.  Just a thought...

Grub had my primary boot partition as root (hd0,4) instead of root (hd0,0) and had added those two map statements to the XP section of menu.lst.

root (hd 0,4)
map (0x81) (0x80)
map (0x80) (0x81)

So I couldn't boot into XP either.

I don't know how it had gotten do messed up,  I had not had any severe crashes or anything.

I don't know how that Windows stanza was created in that fashion, but grub did not create it as such. Grub only uses the map lines when the Windows installation is on a separate drive, ie (hd1,n) (hd2,n) not (hd0,n). On the other hand, we have no idea what else is in your /boot/grub/menu.lst because you haven't posted that information.

As far as the original premise of the thread goes, if the OS boots to a command line log in, all the command line tools of Linux are at your disposal, to fix almost anything. If the OS does not boot at all, there is no OS from which to run any utilities, so no use for such a menu. Not knowing what might possibly be wrong on any given boot to the command line, there are no magic apps to just fix things. You as the system operator need to learn what apps are part of a standard installation, and how to best use them, when faced with a specific problem.

In other words, the menu is in your head, if you learn the various apps functions. Most of the tools you use in the GUI have their CLI counterparts. You just call them by name, rather than click on an icon. If you don't know the names of the apps, a menu wouldn't do much good anyway.

On the other hand, you can use both command line and GUI apps, from the liveCD, to repair almost anything on your installed OS, so if you are command line impaired, at the moment, just boot the liveCD and use the GUI tools. 
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Truthfinder

  • Full Member
  • ***
  • Posts: 157
Re: How about a Utilities Menu?
« Reply #12 on: February 01, 2010, 05:47:28 PM »
I think  all of this started when I tried installing a newer kernel from synaptic.  After two re-installs and editing menu.lst everything  seems to be working alright now.  I'm still using the original kernel tho'