From: Mad Slack on
hi everyone

i recently bought a new laptop ASUS with a Pentium Dual-core T4400, a
320 GB hard disk and 4 GB RAM, already packed with Windows 7 Home
Edition.So i partitioned the disk in some partitions (NTFS, and also
EXT4 and swap) and installed Slackware 13.0

The install went ok, and when asked where to put LILO, i choosed MBR.

After the reboot, i choose to open slackware, and it run with no
problems. But when i tried to boot from Windows, the sistem just
hanged up.

Well, i had to rebuild the MBR, and of course, Windows booted OK. But
now, if i want to boot Slackware, i have to boot from a rescue
pendisk.

Let me say also that Windows is installed in a primary partition and
Slackware is installed in a logical partition.

Do i need to install Slackware again, and put the LILO in the /dev/
sda3 (Linux root partition), in order to boot from Windows or
Slackware, with no problems?



Thanks in advance
From: Douglas Mayne on
On Fri, 29 Jan 2010 03:43:39 -0800, Mad Slack wrote:

> hi everyone
>
> i recently bought a new laptop ASUS with a Pentium Dual-core T4400, a
> 320 GB hard disk and 4 GB RAM, already packed with Windows 7 Home
> Edition.So i partitioned the disk in some partitions (NTFS, and also
> EXT4 and swap) and installed Slackware 13.0
>
> The install went ok, and when asked where to put LILO, i choosed MBR.
>
> After the reboot, i choose to open slackware, and it run with no
> problems. But when i tried to boot from Windows, the sistem just hanged
> up.
>
> Well, i had to rebuild the MBR, and of course, Windows booted OK. But
> now, if i want to boot Slackware, i have to boot from a rescue pendisk.
>
> Let me say also that Windows is installed in a primary partition and
> Slackware is installed in a logical partition.
>
> Do i need to install Slackware again, and put the LILO in the /dev/ sda3
> (Linux root partition), in order to boot from Windows or Slackware, with
> no problems?
>
>
>
> Thanks in advance
>
I don't use lilo. but I found this using google:
http://www.linuxforums.org/forum/
slackware-linux-help/43664-dual-boot-lilo-conf-howto.html

The lilo.conf parameter "other" is the key in booting non-linux OSs.

BTW, I prefer using the grub bootloader. It has a lot more flexibility
than lilo, IMO. However, just like anything, the best solution is to
become familiar with whatever tools you are using. I guess in your case:

man lilo
man lilo.conf

OT: The reason I prefer grub is that it is more like a self-contained
mini OS. As such, it can be installed on a variety of boot media, and can
be used in a variety of "rescue" scenarios. IMO, time learning about the
bootloader and the boot process pays dividends later on.

--
Douglas Mayne
From: Mike Jones on
Responding to Douglas Mayne:

[...]
>
> OT: The reason I prefer grub is that it is more like a self-contained
> mini OS. As such, it can be installed on a variety of boot media, and
> can be used in a variety of "rescue" scenarios. IMO, time learning about
> the bootloader and the boot process pays dividends later on.


Confirmed.

This...

http://www.troubleshooters.com/linux/lilo.htm

....might be of some use too.

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
From: Grant on
On Fri, 29 Jan 2010 03:43:39 -0800 (PST), Mad Slack <madslackw(a)gmail.com> wrote:

>hi everyone
>
>i recently bought a new laptop ASUS with a Pentium Dual-core T4400, a
>320 GB hard disk and 4 GB RAM, already packed with Windows 7 Home
>Edition.So i partitioned the disk in some partitions (NTFS, and also
>EXT4 and swap) and installed Slackware 13.0
>
>The install went ok, and when asked where to put LILO, i choosed MBR.
>
>After the reboot, i choose to open slackware, and it run with no
>problems. But when i tried to boot from Windows, the sistem just
>hanged up.
>
>Well, i had to rebuild the MBR, and of course, Windows booted OK. But
>now, if i want to boot Slackware, i have to boot from a rescue
>pendisk.
>
>Let me say also that Windows is installed in a primary partition and
>Slackware is installed in a logical partition.
>
>Do i need to install Slackware again, and put the LILO in the /dev/
>sda3 (Linux root partition), in order to boot from Windows or
>Slackware, with no problems?

Need to adjust lilo.conf and rerun lilo, not reinstall slackware.

For example, this is lilo.conf for my main machine which runs win7rc
by default (yes, I use a very simplified lilo.conf):

# /etc/lilo.conf for slackware64-13.0 on silly -- 2009-10-06
#
append=" vt.default_utf8=0"
boot = /dev/sda
root = /dev/sda3
timeout = 50
read-only
compact
prompt
lba32

# VESA framebuffer console @ 800x600x256
vga = 771

default = Win7rc

image = /boot/bzImage-2.6.31.5a
label = 2.6.31.5a

image = /boot/vmlinuz
label = Slack-13.0

other = /dev/sda1
label = WinVista
table = /dev/sda

other = /dev/sda2
label = Win7rc
table = /dev/sda
#

So for you it's something like:

boot slack install CD/DVD
mount /dev/sd? slackware / partition on /mnt
edit your lilo.conf (vi /mnt/etc/lilo.conf) to fix the boot parameters
run lilo with 'lilo -r /mnt'
reboot.

Slackware defaults to lilo bootloader, I have no problems with lilo,
key is to learn about your preferred bootloader (like Douglas M
prefers grub) and know what to do when multi-booting issues arise.

Grant.
--
http://bugs.id.au/
From: Martin on
Grant wrote:

>
> other = /dev/sda1
> label = WinVista
> table = /dev/sda
>
> other = /dev/sda2
> label = Win7rc
> table = /dev/sda
> #
>


Ooops, I've always added a "loader" statement like so:

other = /dev/hda1
label = Other
table = /dev/hda
loader = chain

Is that not required anymore?

Martin