| Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-12-2010, 07:11 AM
|
#1
|
|
Member
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225
Rep:
|
getting rid of grub for lilo - dual boot
Hiya,
I'm currently dual-booting win xp and ubuntu 8.04 on my desktop machine (dual-booting using grub). I'm now planning of getting rid of ubuntu and replacing with the slack 13.
There are a lot of tutorials online about dual boooting, and the slackbook also has a nice section on it as well but I'm not really sure what the best thing to do is given my current situation.
If I format my ubuntu partition and replace it with slackware i'll lose my grub config file (as it's in the ubuntu partition). Should i somehow "delete" grub, install slackware (and lilo), and then configure lilo to boot either my win xp or slack? If so how do i go about deleting or overwriting grub?
Sorry if these are dumb questions. Many thanks,
Tom
|
|
|
|
04-12-2010, 09:42 AM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0
Posts: 4,616
|
Assuming you format your current root partition, the grub config will be gone. Then you can install slack, with lilo. Just install lilo to the mbr, that will replace the mbr that now points to grub. The slack install should 'see' the XP install and create an entry for booting windbloze. If that fails for any reason, you can manually add an entry for windoze after you boot up slack.
Not a dumb question at all. Better to think ahead, than after the fact...
|
|
|
|
04-12-2010, 10:39 AM
|
#3
|
|
Member
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225
Original Poster
Rep:
|
A thousand thanks. I'll give this a go over the coming weekend.
Cheers again,
Tom
|
|
|
|
04-12-2010, 11:16 AM
|
#4
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,343
|
Hi,
If you have sufficient space then install Slackware to a new partition. Then just do a chain load. That way you can have Xp, Ubuntu and Slackware.
|
|
|
|
04-12-2010, 04:02 PM
|
#5
|
|
Member
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225
Original Poster
Rep:
|
Oooooh didnt think of that. Thanks very much
Does this mean i wouldn't need to install lilo? i just need to add an entry to my grub menu config for slackware?
Many thanks again,
Tom
|
|
|
|
04-12-2010, 04:46 PM
|
#6
|
|
Member
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 177
Rep:
|
you have the choice when installing the new system (slackware) ... if you install it to the MBR, then it will become your new boot loader for all the systems and over write grub. If you install lilo to the slackware root partition... then you will have to manually edit grub to chainload lilo-slackware or the slackware kernel directly.
|
|
|
|
04-13-2010, 03:40 AM
|
#7
|
|
Member
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225
Original Poster
Rep:
|
Cheers all.
I have another machine that dual-boots slack and ubuntu, but i use grub on this. Think I wanna have a play with lilo as i've never used it before so i might go for the "overwriting grub" option.
Thanks again, it's really appreciated.
Tom
|
|
|
|
04-13-2010, 08:46 AM
|
#8
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,343
|
Hi,
Nothing wrong with learning to use something new. You can keep your grub by saving your configurations. Then adding the boot for your Slackware. This way if you desire to revert then things will be a lot easier.
I prefer 'lilo' myself but whenever testing anything that is alien I will save my current configuration(s) but that is easy since my test bench systems can be reverted with ease. I never work experiments on my production equipment or systems. Sure tweaks may be made but even those have been tested elsewhere.

|
|
|
|
04-13-2010, 02:10 PM
|
#9
|
|
Member
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225
Original Poster
Rep:
|
When you say "Then adding the boot for your Slackware." is that the method where I should chose to install Lilo to my slack root partition thus keeping my grub in the mbr?
Thanks,
Tom
|
|
|
|
04-13-2010, 02:42 PM
|
#10
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,179
|
If you wanted lilo in the MBR, that would mean re-installing GRUB in Ubuntu's root, then adding just two lines to /etc/lilo.conf:
Code:
other = /dev/sda*
label = Ubuntu
*'s whatever partition number, of course. Then run:
|
|
|
|
04-13-2010, 03:23 PM
|
#11
|
|
Member
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225
Original Poster
Rep:
|
Thank you all for your useful posts!
Tom
|
|
|
|
04-14-2010, 02:01 AM
|
#12
|
|
Member
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 177
Rep:
|
Does anyone have any experience with grub4dos as a boot loader... the website presents it as a silver bullet that will load all systems, usb, cd, iso and make your toast. Grub legacy that I stuck with because I can edit it manually, is being fazed out for grub2.. and I have not found it as stable as lilo. However lilo is not as fexible or as forgiving as grub legacy.
Hope this is not off the main subject here.
|
|
|
|
06-21-2010, 11:11 PM
|
#13
|
|
Member
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 513
Rep: 
|
Quote:
Originally Posted by vigi
Does anyone have any experience with grub4dos as a boot loader... the website presents it as a silver bullet that will load all systems, usb, cd, iso and make your toast. Grub legacy that I stuck with because I can edit it manually, is being fazed out for grub2.. and I have not found it as stable as lilo. However lilo is not as fexible or as forgiving as grub legacy.
Hope this is not off the main subject here.
|
I'm using Grub4dos, I like it a lot better than Grub2.
I wrote a SlackBuild for it here:
http://slackbuilds.org/repository/13.1/system/grub4dos/
To install to the MBR:
Code:
# bootlace.com /dev/sda
# mkdir -p /boot/grub
# cp -a /usr/share/grub4dos/grldr /boot/grub
There's also instructions to chainload from LILO on SlackBuilds (This is how I run it)
The menu.lst syntax is the same as Grub legacy
EDIT:
Something kind of annoying.
When you install Grub4dos to the MBR, it will move your old MBR to the second sector of your hard drive and on every boot it gives you 5 seconds to press the hotkey (spacebar) to load it.
If you don't want this, install with:
Code:
# bootlace.com --no-backup-mbr --time-out=0 /dev/sda
Last edited by piratesmack; 06-21-2010 at 11:19 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:48 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|