HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Executed lilo -u on RH7.2
Operating System - Linux
1829404
Members
1822
Online
109991
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 04:04 PM
03-13-2002 04:04 PM
Executed lilo -u on RH7.2
I accidentally executed the
command /sbin/lilo -u. The man
page says the -u option will
"Uninstall lilo, by copying
the saved boot sector back. A
time-stamp is checked. When I
do a /sbin/lilo -t, I get this
message: lilo -t
Added linux_7_2_7_10
Added linux_7_2_9_31
Fatal: No images have been defined.
What have I done to my system,
and is it reparirable? I included
a copy of my /etc/lilo.conf file
as an attachment.
command /sbin/lilo -u. The man
page says the -u option will
"Uninstall lilo, by copying
the saved boot sector back. A
time-stamp is checked. When I
do a /sbin/lilo -t, I get this
message: lilo -t
Added linux_7_2_7_10
Added linux_7_2_9_31
Fatal: No images have been defined.
What have I done to my system,
and is it reparirable? I included
a copy of my /etc/lilo.conf file
as an attachment.
Life is beautiful
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 08:42 PM
03-13-2002 08:42 PM
Re: Executed lilo -u on RH7.2
In lilo.conf, you have "default=linux", but you don't have a label of "linux" set anywhere. I would change the default= paramater to "default=linux_7_2_9_31" or whichever kernel you want to boot with. It's not really all that important because lilo allows you to choose which image you want to boot to at the boot prompt (by typing the key), but lilo will bark at you if the default you've defined doesn't exist.
The man page says that lilo will pick the first image in lilo.conf if a default is not specified. I guess that incorrectly specifying a default image is not the same as not specifying it at all. :-)
Just as an FYI from a fairly experienced admin... make boot disks. I know it's a pain, but it'll save your rear just like it has mine a couple of times now when something like this happens.
Hope this helps. Good luck.
The man page says that lilo will pick the first image in lilo.conf if a default is not specified. I guess that incorrectly specifying a default image is not the same as not specifying it at all. :-)
Just as an FYI from a fairly experienced admin... make boot disks. I know it's a pain, but it'll save your rear just like it has mine a couple of times now when something like this happens.
Hope this helps. Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 01:31 PM
03-14-2002 01:31 PM
Re: Executed lilo -u on RH7.2
If I remember correctly, lilo -u will restore your mbr to its original state, i.e. the state it was in before lilo was installed. You should be able to run lilo -v to re-install lilo into the mbr.
In addition, all of Christopher's comments are valid.
-Santosh
In addition, all of Christopher's comments are valid.
-Santosh
Life is what's happening while you're busy making other plans
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP