Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: GfxBoot werkt niet  (gelezen 2064 keer)

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Gepost op: 2007/02/28, 13:13:32 »
HIER heb ik gelezen hoe je je Grub-loader kunt opfleuren met thema's,maar het werkt niet,
de standaard-look, start gewoon op :(

hier zie je mijn terminalgeschiedenis ;)


~$ sudo apt-get remove grub
Password:
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd      
Reading state information... Klaar
Pakket grub is niet geïnstalleerd, en wordt dus niet verwijderd
The following packages were automatically installed and are no longer required:
  libmono2.0-cil libmono-data-tds2.0-cil libmono-system-data2.0-cil
  libsgutils1 libmono-cairo2.0-cil libmono-security2.0-cil
  libmono-sqlite2.0-cil python-pysqlite2 libmono-system-web2.0-cil
  libmono-sharpzip2.84-cil libmono-corlib2.0-cil libipoddevice0 libnjb5
  libmono-system2.0-cil
Use 'apt-get autoremove' to remove them.
0 pakketten opgewaardeerd, 0 nieuwe pakketten geïnstalleerd, 0 verwijderen en 0 niet opgewaardeerd.
op:~$ sudo cp message.suse /boot/grub/ # the suse can be replaced by the one you downloaded
~$ sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
:~$ sudo gedit /boot/grub/menu.lst

hier heb ik de tekst bovenaan gezet,
gfxmenu /boot/grub/message.suse # the suse can be replaced

dan sudo grub,

  GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> find /boot/grub/stage1
 (hd0,1)

grub> root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  15 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,1)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub>

dan sluit ik de terminal af,en start opnieuw op,maar de grub blijft terugkomen :o
« Laatst bewerkt op: 2011/10/30, 01:33:03 door filenox »

Offline Soul-Sing

  • Lid
GfxBoot werkt niet
« Reactie #1 Gepost op: 2007/02/28, 13:19:18 »
het staat in de wiki hoe de grubloader in ubuntu kunt vervangen door die van suse. want dat is de bedoeling toch?

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Reactie #2 Gepost op: 2007/02/28, 13:33:46 »
ja,dat kan wel :D
maar mag dat dan wel zo,dan zou het toch in de tutorial staan ? :s

Offline Soul-Sing

  • Lid
GfxBoot werkt niet
« Reactie #3 Gepost op: 2007/02/28, 13:37:14 »
heb net zitten googlen, niets gevonden. ik weet gewoon dat ik hem een keer in de wiki heb zien staan.
doe eens: sudo fdisk -l en cat /boot/grub/menu.lst?

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Reactie #4 Gepost op: 2007/02/28, 13:45:35 »
esktop:~$ sudo fdisk -l

Schijf /dev/hda: 41.1 GB, 41110142976 bytes
255 koppen, 63 sectoren/spoor, 4998 cylinders
Eenheden = cylinders van 16065 * 512 = 8225280 bytes

 Apparaat Boot      Start         Einde    Blokken  Id  Systeem
/dev/hda1   *           1        4207    33792696    7  HPFS/NTFS
/dev/hda2            4208        4921     5735205   83  Linux
/dev/hda3            4922        4998      618502+  82  Linux-swap / Solaris
-desktop:~$

aub :)
« Laatst bewerkt op: 2011/10/30, 01:33:34 door filenox »

Offline Soul-Sing

  • Lid
GfxBoot werkt niet
« Reactie #5 Gepost op: 2007/02/28, 13:46:39 »
en: cat /boot/grub/menu.lst?

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Reactie #6 Gepost op: 2007/02/28, 13:57:51 »
-desktop:~$ cat /boot/grub/menu.lst
gfxmenu /boot/grub/message.ubugrey

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default         0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout         10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title         Windows 95/98/NT/2000
# root          (hd0,0)
# makeactive
# chainloader   +1
#
# title         Linux
# root          (hd0,1)
# kernel        /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=b510d85e-0ae0-4e3a-950c-8a1df62033e9 ro
# kopt_2_6=root=/dev/hda2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title           Ubuntu, kernel 2.6.17-11-generic
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.17-11-generic root=/dev/hda2 ro quiet splash
initrd          /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot

title           Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.17-11-generic root=/dev/hda2 ro single
initrd          /boot/initrd.img-2.6.17-11-generic
boot


title           Ubuntu, memtest86+
root            (hd0,1)
kernel          /boot/memtest86+.bin
quiet
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Overige besturingssystemen
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           Microsoft Windows XP
root            (hd0,0)
savedefault
makeactive
chainloader     +1

desktop:~$
« Laatst bewerkt op: 2011/10/30, 10:10:44 door filenox »

Offline Soul-Sing

  • Lid
GfxBoot werkt niet
« Reactie #7 Gepost op: 2007/02/28, 14:03:06 »
ik zie de "hack" niet terug in de lijst. jij? :D

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Reactie #8 Gepost op: 2007/02/28, 14:06:57 »
jawel :)

desktop:~$ cat /boot/grub/menu.lst
gfxmenu /boot/grub/message.ubugrey
........

of heb ik dit foutgedaan ? :)
« Laatst bewerkt op: 2011/10/30, 01:33:54 door filenox »

Offline Soul-Sing

  • Lid
GfxBoot werkt niet
« Reactie #9 Gepost op: 2007/02/28, 15:18:47 »
Citaat van: Doritos
jawel :)

desktop:~$ cat /boot/grub/menu.lst
gfxmenu /boot/grub/message.ubugrey
........

of heb ik dit foutgedaan ? :)
ik hoop het niet. :)
« Laatst bewerkt op: 2011/10/30, 05:25:18 door Johan van Dijk »

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Reactie #10 Gepost op: 2007/02/28, 15:30:14 »
haha :)
wat moet ik nu doen ? ;):D

Offline Soul-Sing

  • Lid
GfxBoot werkt niet
« Reactie #11 Gepost op: 2007/02/28, 15:45:43 »
Citaat van: Doritos
haha :)
wat moet ik nu doen ? ;):D
even serieus. ik ben erg onzeker op dit gebied. en ik wil je systeem niet
in gevaar brengen. de info die hier niet staat is voldoende voor een expert
om mee uit de voeten te kunnen. sorry ik ben erg voorzichtig....

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Reactie #12 Gepost op: 2007/02/28, 15:56:20 »
mm,ok :)
dan zal ik wel wachten tot er toevallig een expert langskomt ;)
toch bedankt :)

Timelike

  • Gast
GfxBoot werkt niet
« Reactie #13 Gepost op: 2007/02/28, 21:48:51 »
Mmz,
Als de tutorial vergelijk met jou terminal geschiedenis dan mis ik een belangrijke stap nl:
sudo dpkg -i grub-gfxboot_0.97-5_i386.deb.
Dit is nou juist de regel die het pakket uitpakt en de al bestaande grub overschrijft.
Voor de rest heb je volgens mij alles goed gedaan.

In je output staat:
Pakket grub is niet geïnstalleerd, en wordt dus niet verwijderd
Ik weet niet waarom dit zo is ,maar ik kan me wel voorstellen dat het best gevaarlijk zou kunnen zijn.

Succes

Ps ik heb zelf de "Dark grey ubuntu theme"

Offline filenox

  • Lid
    • filenox@tweakblogs.net
GfxBoot werkt niet
« Reactie #14 Gepost op: 2007/03/01, 11:25:20 »
ik heb het pakket handmatig geinstalleerd :)
en grub was al verwijderd,omdat dit de 3de x was ;)