Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a dekstop computer with 500Gs of hard drive fully dedicated to slackware 13.1 , but since last week I decided to install ( duel boot ) windows 7 so my lil brother can play games. using gparted i shrank my partition for 30Gs to give to windows and I installed windows. Here is my problem :
Now that I have 2 Os's installed but I cant choose which 1 to boot from. Windows automatically boots up and I dont know how to get into my slackware.
Plz help .
Just use any Live distribution to install grub on it.
Edit:
Sorry did not read the post correctly. My bad. You have Slack. It runs LILO. Either you can do what repo said, or else if you are not familiar with Lilo then can install grub. You may find Grub easier to manage.
Last edited by linuxlover.chaitanya; 09-21-2010 at 05:05 AM.
Sample file :In this file default=1;so sytem boots in Windows XP
Quote:
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL hdd=ide-scsi
initrd /initrd-2.4.20-8.img title Windows XP
rootnoverify (hd0,0)
chainloader +1
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
default = slackware
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only
# Linux bootable partition config ends
I tried using liloconfig... I didnt have such a utility on my slackware 13.1 disk.
Im using live ubuntu ... and when I want to rerun lilo it says that It cannot locate lilo file ... my hard drive is mounted on /media/88-2212 ...
I worked on the problem and this is how I fixed it.
I boot up with my Slackware cd , mounted my /dev/sda3 ( my slack partition ) and edited my lilo.conf the way you guys told me. After that I reran lilo and then I ran fdisk /dev/sda and toggle boot on /dev/sda3.
And now both work.
Thank you again . God it feels good to be back on slack ... windows makes me .... u know
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.