Boot edit help after kernel upgrade, & urpmi history [solved

Non-Desktop related topics
Ответить
Аватара пользователя
lisa
Сообщения: 29
Зарегистрирован: 13 май 2012, 22:50
Откуда: Arkansas

Boot edit help after kernel upgrade, & urpmi history [solved

Сообщение lisa » 26 авг 2012, 19:24

Hello,
I have two questions. I did a Rosa update in the past month and now have the following in my boot menu boot after kernel upgrate:

linux (/boot/vmlinuz)
linux-nonfb (/boot/vmlinuz)
windows (/dev/sda1)
3.0.28-nrj-desktop-2rosa.lts
3.0.38-nrj-desktop-1rosa.lts


I have been scrolling down to kernel x.x.38, latest upgrade, as it so far seems stable. I am wondering how I can edit the boot entries so the kernel 3.0.38 is the default. I move it up to top, correct? So then I can delete the top two entries as well as the fifth entry down from top, (3.0.28)?

Second questions is how does one view package update/install history using command line? I couldn't find history in the software management GUI.
Thank you for your time!
Lisa
Последний раз редактировалось lisa 26 авг 2012, 23:16, всего редактировалось 1 раз.

PastorDi
Сообщения: 2743
Зарегистрирован: 25 авг 2011, 12:34
Operating system: IBM DOS, OS/2
Откуда: Санкт-Петербург
Контактная информация:

Re: Boot edit help after kernel upgrade, and urpmi history

Сообщение PastorDi » 26 авг 2012, 20:38

See in file /boot/grub/menu.lst

Аватара пользователя
lisa
Сообщения: 29
Зарегистрирован: 13 май 2012, 22:50
Откуда: Arkansas

Re: Boot edit help after kernel upgrade, and urpmi history

Сообщение lisa » 26 авг 2012, 23:13

Thanks, PastorDi, I did end up editing my menu.lst and now looks like this:

Код: Выделить всё

title 3.0.38-nrj-desktop-1rosa.lts
kernel (hd1,8)/boot/vmlinuz-3.0.38-nrj-desktop-1rosa.lts BOOT_IMAGE=3.0.38-nrj-desktop-1rosa.lts root=UUID=lots ofnumbers nokmsboot logo.nologo quiet resume=UUID=lotsofnumbers splash=silent vga=788
root (hd1,8)
initrd /boot/initrd-3.0.38-nrj-desktop-1rosa.lts.img

title linux-nonfb
kernel (hd1,8)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=lotsofnumbers nokmsboot resume=UUID=lotsofnumbers
root (hd1,8)
initrd /boot/initrd.img

title failsafe
kernel (hd1,8)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=lotsofnumbers nokmsboot failsafe
root (hd1,8)
initrd /boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1
I deleted the top entry and cut/paste the bottom entry to top. I then opened package management and unticked kernel 28 to remove it. Maybe I should have done this first.

I only found this command line which is so-so. I was hoping it would show old package version to new package version with date of upgrade/install, but it only show new package version.

Код: Выделить всё

rpm -qa --last | less
. So, I think this is solved.

Ответить

Вернуться в «Marathon (LTS) General Software»