• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is there a LILO swap argument?

DaveR

Golden Member
Help, I managed to pass a root argument to lilo to get Linux to almost work again but it dies as it now can not find swap.

I did this to myself as I had Linux on hdc6 with swap on hdc5.

BUT, I enabled my ata33 secondary (soyo 6ba+iv) and now the ata66 port is hde6 with swap as hde5.

Problem is that during boot at the LILO: prompt I added linux root=/dev/hde6 and it starts to come up again, but then still looks for swap on hdc5...how can I tell it BOTH the root and swap have changed!

I know, I can disable MoBo ide secondary,and then change LILO, and enable it again, but ANYONE can do that! 😀
 


<< Edit the appropriate line in /etc/fstab. >>



I can't as it will not boot. Can I even specify noswap file to make it boot?
 


<< Edit the appropriate line in /etc/fstab. >>



Well, I gave root password when it could not find swap and I got to command mode. I did get to etc/fstab but all is in read only mode.
 
mount -o remount,ro /

will remount your root partition as read-write. From there you need to appropriately modify partition numbers in fstab. You will also need to modify partition numbers in /etc/lilo.conf and then reinstall lilo by running lilo at the command line.
 
Back
Top