Ne mogu prepraviti GRUB? (ne pamti podesavanja)

Ne mogu prepraviti GRUB? (ne pamti podesavanja)

offline
  • Mare  Male
  • Elitni građanin
  • Pridružio: 20 Feb 2005
  • Poruke: 2342
  • Gde živiš: Beč / Svilajnac

Problem je sledeci: Nakon update-a Ubuntu-a ne mogu podici sistem. Na meni listi za izbor operativnog sistema (da napomenem:win XP je na istoj masini) dobio sam jos 3 gruba. Podesavanja su im pogresna ali to nije problem jer ih odmah na pocetku rucno editujem i podignem sistem, Kada sistem podignem, udjem u terminal i uradim sledece:
cd /boot/grub

sudo pico menu.lst
(tu prepravim da mi win bude default)
posle otvorim grub-ov terminal (sudo grub)
root (hd0,6)
setup (hd0)
To bi trebalo da bude to, ali kada resetujem PC sve je po starom.
Evo kako izgleda terminal kod mene:
Citat:# 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 6
# 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 7

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

## 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


Citat: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> root (hd0,6)
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,6)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub>

Ranije sam imao isti problem ali sam ga uspesno resio na ovaj nacin. Kako da resim ovo sada?
Da se odmah unapred izvinim zbog ovakvog posta jer sam apsolutni pocetnik sto se tice Linux-a.
Hvala unapred na odgovorima.



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 23 Mar 2004
  • Poruke: 523

Daj cijeli menu.lst. Ne moraš poslije svake izmjene instalirati grub. Samo promijeni menu.lst.



offline
  • Mare  Male
  • Elitni građanin
  • Pridružio: 20 Feb 2005
  • Poruke: 2342
  • Gde živiš: Beč / Svilajnac

Pokusao sam jos jedanput da izeditujem menu.lst i uspelo je! Ne znam kako ali su sada podesavanja sacuvana. ([url=https://www.mycity.rs/must-login.png )

Ko je trenutno na forumu
 

Ukupno su 1091 korisnika na forumu :: 44 registrovanih, 7 sakrivenih i 1040 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., aleksmajstor, Apok, bojanM84, bokisha253, Centauro, crnitrn, d bos, Dannyboy, debeli, Denaya, Djokislav, Dorcolac, dushan, FOX, gasha, ikan, Karla, Lucije Kvint, maiden6657, Marko Marković, mercedesamg, Mercury, Metanoja, MiG-29M2, milanovic, Milos ZA, mnn2, mocnijogurt, operniki, radoznao, raptorsi, sevenino, Singidunumac, sokars, SR-3m, Srle993, Sumadija34, vathra, vladulns, x9, yufighter, Zimbabwe, šumar bk2