LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   new hard drive (https://www.linuxquestions.org/questions/slackware-14/new-hard-drive-176816/)

skinpainting 05-01-2004 08:29 PM

new hard drive
 
okay i've got slackware linux installed currently with lilo as the bootloader... and i'm wondering if and how i can install this new hard drive and be able to boot the OS already installed on the second hard drive...
any help is appreciated..

ringwraith 05-01-2004 08:33 PM

If you add the second hard drive as the second hd (slave), edit your /etc/lilo.conf. The new drive will probably be /dev/hdb. So you would probably add something like:
other = /dev/hdb1
label = Winblows

Be sure to run "lilo" after the edit.

skinpainting 05-01-2004 08:47 PM

where at in the file this is what it says


# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200



# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends

there's a slew of things in between but i kind of thought those where be where i put it..or whatever

ringwraith 05-01-2004 09:08 PM

You can put it right there at the end.

skinpainting 05-01-2004 10:51 PM

this is what i have

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# 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/hda1
label = Linux
read-only
# Linux bootable partition config ends
other = /dev/hdb1
label = Windows


All times are GMT -5. The time now is 10:36 PM.