topic title: repair grub utility
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#1
I'm having some trouble with the repair grub utility (in antix-system.sh). I'm running form live usb, and I enable grub repair, then select MBR, and specified the root partition and the boot device (sda1 and sda respectively).

However, nothing seems to happen. Grub does not get installed, nor does the menu get updated if I check the"Update Menu" box.

To do some checking, I ran from terminal and I get an error about live/aufs not being a block device, and then everything errors out. I thought maybe something was mounted, and swap was, so I did a swapoff -a and re-ran. Same error.

Any thoughts? I installed ubuntu in a test partition the other nite and grub2 was installed without any choice. The system works, but I would really like my antix-grub back as it looks nicer. And oddly, it boots a little faster. I get a 2 to 3 second hangup from grub2 when launching antix.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
Ok, so word from anti is that repair-grub doesn't work in antix 13. He suggests the antix 8.5 version, but it has a different gfxmenu. Question: can I back up my /boot/grub directory, run the repair-grub from 8.5, and then copy the files back into /boot/grub? Maybe just menu.lst and message (the gfxmenu part I think).


***edit*** found an 8.5 disk, so I'm about to find out!

***edit 2 *** yep, that worked. I just copied menu.lst and message out of /boot/grub, ran the antix 8.8 repair grub utitiity, and then copied menu.lst and message back into /boot/grub. worked fine.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#3
actually, it didn't quite look fine. The resolution of the menu is off, the timer circles do not appear. I do have all my old boot menu options, so that's good. What do I need to edit to get me to the 13.1 grub menu format/resolution/whatever?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
I think the message is different in yours now since you are using 8.5.

Grab what you need out of mine.



I tried to give ya the whole /boot folder but the size was more than the forum could take.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#5
I think I'm just nuts. Even booting off my usb key now looks different too me. I think I just stared at the ubuntu grub 2 menu too long. Thanks for the help rok.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
New upload. Mine has the circles. I took out/ripped out, kernel and vmliuz 3.7 out of /boot folder.
Use your /boot/grub/menu.lst and kernel and vmlinuz and you should be good to go maybe. Or not.

Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#7
I don't know...all that should be in message I would think. I'm starting to wonder if they are just off the screen.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
dolphin_oracle wrote:I don't know...all that should be in message I would think. I'm starting to wonder if they are just off the screen.
Mine

Code: Select all

$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x600       53.3*+
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
If anything. It should be too small. __{{emoticon}}__
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#9
If I'm reading the gfxmenu config correctly, its set to 800x600, unless it can't set the screen to 800x600, then it defaults back to 640 x 480.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#10
actually, if that' the case, it would look better on your netbook than on my HP. The HP has a widescreen resolution. The netbook is 1024x600, which is actually just a truncated 4:3 resolution. I think I'll try this on my netbook at home and see what happens. I also put ubuntu on it and as expected, the experience is horrible. slow slow slow. The 32 bit ubunut uses over 400 mb of ram just sitting there. I had it spike over 900 just starting up firefox and nautilus.
Posts: 325
male
Joined: 04 Nov 2011
#11

Code: Select all

male@antiX1:~$ apt-cache policy hwinfo
hwinfo:
  Installiert:           16.0-2.2
  Installationskandidat: 16.0-2.2
  Versionstabelle:
 *** 16.0-2.2 0
        500 http://ftp.cz.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status

Code: Select all

root@antiX1:/home/male# hwinfo --framebuffer
02: None 00.0: 11001 VESA Framebuffer                           
  [Created at bios.464]
  Unique ID: rdCR.xnRagj3_2BF
  Hardware Class: framebuffer
  Model:"Intel(r)852GM/852GME/855GM/855GME Graphics Controller"
  Vendor:"Intel Corporation"
  Device:"Intel(r)852GM/852GME/855GM/855GME Graphics Controller"
  SubVendor:"Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS"
  SubDevice: 
  Revision:"Hardware Version 0.0"
  Memory Size: 7 MB + 832 kB
  Memory Range: 0xe0000000-0xe07cffff (rw)
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+4096), 24 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Config Status: cfg=new, avail=yes, need=no, active=unknown
The possible resolution in the etc/default/grub
Unfortunately only in German

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.ubuntuusers.de/GRUB_2/Aussehen?highlight=vbeinfo#Aufloesung"
linktext was:"http://wiki.ubuntuusers.de/GRUB_2/Ausse ... Aufloesung"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.ubuntuusers.de/GRUB_2/Aussehen_-_erweiterte_Konfiguration#Vorbereitungen"
linktext was:"http://wiki.ubuntuusers.de/GRUB_2/Ausse ... ereitungen"
====================================

..
GRUB_GFXMODE=xxxXxxx
...