LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Dual OS (WinXP - Slack) - Please Help.. =( (https://www.linuxquestions.org/questions/slackware-installation-40/dual-os-winxp-slack-please-help-%3D-558779/)

cuek80 06-03-2007 05:59 AM

Dual OS (WinXP - Slack) - Please Help.. =(
 
i know there are lots of discussion/reference about this, but i just can't make it work..
i m new with linux, and after reading some article, i decided to try slackware..
i have:
- slackware dvd
- 2 hdd (maxtor & seagate if brand does matter)
SEAGATE (150 Gb)
hda1 = primary partition - ntfs 20Gb - win xp pro
hda5 = extended/logical partition - ntfs 130Gb - data

MAXTOR (56 Gb)
hdb1 = primary partition - ntfs 46 Gb - data
hdb2 = primary partition - swap 2 Gb - linux swap
hdb3 = primary partition - ext2 8 Gb - slackware

installation step i've done:
1. install slackware using dvd
2. install lilo to superblock (expert mode)
3. create lnx file using
Code:

dd if=/dev/hdb3 of=/sda1/linux.lnx bs=1 count=512
4. copy the file to c:\
5. insert boot option to boot.ini
Code:

c:\linux.lnx="Slackware v11"
now, when i boot my pc and choose slackware v11, only several "L" appear without error code..
where did i do wrong?
here is my lilo.conf
Code:

boot = /dev/hdb3

vga = normal

image = /boot/vmlinuz
  root = /dev/hdb3
  label = linux
  read-only

there several lines start with #, that's comments, rite? should i post it to?
fyi, i don't insert "prompt" and only add linux on purpose.

please please please.. help me...

ps. i can boot slackware using dvd with boot code:
Code:

sata.i root=/dev/hdb3 noinitrd ro
i have slax on usb flashdrive if that can be used to solve the problem? i don't know.. clueless =(

onebuck 06-03-2007 07:47 AM

Hi,

Let us see the complete /etc/lilo.conf.

cuek80 06-03-2007 09:03 AM

here u go..
Code:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdb3
#compact        # faster, but won't work on all systems.
#prompt
#timeout = 5
# 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
# ramdisk = 0    # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hdb3
  label = linux
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends


Road_map 06-03-2007 02:32 PM

Quote:

Originally Posted by cuek80
3. create lnx file using
Code:

dd if=/dev/hdb3 of=/sda1/linux.lnx bs=1 count=512
4. copy the file to c:\
5. insert boot option to boot.ini
Code:

c:\linux.lnx="Slackware v11"

If you use LILO as bootloader, you don't need these steps.
Boot from Slackware DVD, run again liloconfig in expert mode, install LILO in MBR on /dev/hda, add your Windows and Linux partitions.

cuek80 06-04-2007 03:32 AM

i tried that method.. mess my mbr..
only "L" appear and nothing happen..

but here's something wierd:
when i install lilo to mbr.. and i re-config lilo using my usb live (slax), it works.. lilo boot manager appear...
but... if i boot without my flashdrive on the usb, it stuck with an "L" again...

this is how i re-config lilo using flashdrive:
i boot to usb, login as root in slax, run "/sbin/liloconfig". reconfig using lilo gui, expert mode, install to mbr.. copy "/etc/lilo.conf" from usb to "/hdb3/etc/" and then reboot..

cuek80 06-05-2007 04:54 AM

anyone? no suggestion?

cuek80 06-07-2007 08:31 PM

case close!!!
 
k, giving up the idea using superblock..
so i here's what i do:
- i change the partition of hdd maxtor
hdb1-ext2
hdb2-swap
hdb5-fat32 (exchange file purpose between os)
- re-install lilo to mbr, not to hda, but to hdb..
- using bios boot menu by pressing F8 to boot to maxtor instead of seagate if i want to boot slackware..

it works now... not very practical.. well at least now i have dual os work, and i think there wont be a problem if i re-install windows.. rite?
now i having other problem regarding nvidia driver n network.. :mad: i'll post another topic...

thank you.. case closed :D

onebuck 06-08-2007 08:06 AM

Quote:

Originally Posted by cuek80
k, giving up the idea using superblock..
so i here's what i do:
- i change the partition of hdd maxtor
hdb1-ext2
hdb2-swap
hdb5-fat32 (exchange file purpose between os)
- re-install lilo to mbr, not to hda, but to hdb..
- using bios boot menu by pressing F8 to boot to maxtor instead of seagate if i want to boot slackware..

it works now... not very practical.. well at least now i have dual os work, and i think there wont be a problem if i re-install windows.. rite?
now i having other problem regarding nvidia driver n network.. :mad: i'll post another topic...

thank you.. case closed :D

Hi,

Sorry about not getting back to the topic until now.

You can use the superblock, I do it all the time.

You should load your windows first then the Linux. That way no conflict. You can create a boot load file for the ntloader. Here's a link that is a good example.

cuek80 06-08-2007 08:59 AM

no.. really.. it's fine..
i've tried using superblock, tried to use .lnx and .bin extention.. never tried using .img though. will that make a big diff?
now.. i promise u this.. next time i reinstall slack, i'll give it another try. hehehe.. and i think that wont be long :p
i'll post the outcome here later..
btw.. now i'm trying to set up my network n nvidia vga card :(

thanks...


All times are GMT -5. The time now is 01:41 AM.