LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-17-2009, 09:09 PM   #1
S1NN3R
LQ Newbie
 
Registered: Oct 2009
Posts: 26

Rep: Reputation: 15
Just Installed Slackware 13... Now What?


OK i'm trying to keep the freak out to a minimum.. but freaking a little bit. i just installed Slackware 13 and it bring me to the Slackware splash where it says choose linux or windows. i've got windows installed on one hd and slackware on the other. however when i choose windows it just goes to "Loading Windows" and hangs with a blinking cursor, left it 5min and still nothing. so if anyone could walk me through how to get in windows that'd be great, i'll be refreshing a every couple mins.

Last edited by S1NN3R; 10-17-2009 at 09:16 PM.
 
Old 10-17-2009, 09:21 PM   #2
slackd
Member
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Ubuntu, Slackware64, Windows 7 x64
Posts: 248
Blog Entries: 1

Rep: Reputation: 60
please post your lilo.conf file.

edit: did u install lilo to ur mbr or the superblock of your linux partition.

Last edited by slackd; 10-17-2009 at 09:40 PM.
 
Old 10-17-2009, 09:46 PM   #3
S1NN3R
LQ Newbie
 
Registered: Oct 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slackd View Post
please post your lilo.conf file.

edit: did u install lilo to ur mbr or the superblock of your linux partition.
installed to mbr, and how to i get to see what's in my lilo.conf file?
 
Old 10-17-2009, 09:51 PM   #4
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 108Reputation: 108
BOOT into linux.

Without seeing your /etc/lilo.conf file, I would guess you installed lilo to the master boot record. Don't panic.

if your lilo config has:
Code:
boot = /dev/hda
# or
# boot = /dev/sda
# or a device node WITHOUT a number
Then you should change this to the partition number of your root "/" partition. Make sure you know what it is
Code:
# example:
boot = /dev/hda1
then re run lilo as root.

NOW, pop in your windows CD reboot into recovery mode and type FIXMBR.

Last edited by lumak; 10-17-2009 at 09:58 PM.
 
Old 10-17-2009, 09:56 PM   #5
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 108Reputation: 108
Extra Notes

Don't know what partition is root?
Code:
# in linux type:
readlink /dev/root

# that will output "hda1" or similar


# or if /dev/root isn't created for some reason
df

# then look for the Filesystem that is "Mounted on"  '/'


Also, we need to know how new to linux you are to know how much detail to explain.


EDIT:
Of course, whatever partition superblock has lilo (the '/' partition ), will also have to be set to "bootable'. you can do this from linux with "/usr/sbin/cfdisk /dev/hda"

Last edited by lumak; 10-17-2009 at 10:11 PM.
 
Old 10-17-2009, 10:10 PM   #6
S1NN3R
LQ Newbie
 
Registered: Oct 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lumak View Post
BOOT into linux.

Without seeing your /etc/lilo.conf file, I would guess you installed lilo to the master boot record. Don't panic.

if your lilo config has:
Code:
boot = /dev/hda
# or
# boot = /dev/sda
# or a device node WITHOUT a number
Then you should change this to the partition number of your root "/" partition. Make sure you know what it is
Code:
# example:
boot = /dev/hda1
then re run lilo as root.

NOW, pop in your windows CD reboot into recovery mode and type FIXMBR.
yeah it's got

boot = /dev/sda

so just tack a 1 on the end of sda, run lilo from root, and do windows repair?
 
Old 10-17-2009, 10:26 PM   #7
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 108Reputation: 108
Make sure you know which partition is your '/' partition.
Code:
readlink /dev/root
then put that in your lilo.conf. readlink will only output the partion (example: sda1). lilo.conf should include the '/dev/' portion as well.
Make sure that partition is bootable.

Code:
# as root user:
/usr/sbin/cfdisk /dev/sda
and use the [Bootable] option to toggle the "Flag" to Boot on ONLY your '/' partition.

Code:
# run lilo as root user:
lilo
Reboot using windows CD and the recovery option
Code:
# then type
FIXMBR

Last edited by lumak; 10-17-2009 at 10:28 PM.
 
Old 10-17-2009, 10:28 PM   #8
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 398

Rep: Reputation: 50
stay away from windows for some time. can you boot slackware? and look at /etc.lilo.conf? and mount/see you windows disk?
 
Old 10-17-2009, 10:52 PM   #9
S1NN3R
LQ Newbie
 
Registered: Oct 2009
Posts: 26

Original Poster
Rep: Reputation: 15
crap! now i'm really jammed, did the fixmbr and now i'm getting a "NTLDR is missing" and i can't load slack or XP any suggestions?
 
Old 10-17-2009, 10:54 PM   #10
slackd
Member
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Ubuntu, Slackware64, Windows 7 x64
Posts: 248
Blog Entries: 1

Rep: Reputation: 60
Wink

try both fixboot and fixmbr
 
Old 10-17-2009, 11:02 PM   #11
S1NN3R
LQ Newbie
 
Registered: Oct 2009
Posts: 26

Original Poster
Rep: Reputation: 15
OK just ran fixboot and fixmbr, reinstalled Slackware 13, but instead of installing LILO to the MBR i did it to the superblock. however i'm again having the issue with not being able to load windows. if i disable the linux drive i can load XP, but not through LILO. however i can get into Slackware again, so what's my remedy now that i'm at a fresh start and not getting the "NTLDR is missing"? should i just changemy
Quote:
# boot = /dev/sda
to
Quote:
# boot = /dev/sda1
and running LILO from root? or is there a step i'm missing?

Last edited by S1NN3R; 10-18-2009 at 12:09 AM.
 
Old 10-18-2009, 01:06 AM   #12
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 108Reputation: 108
the only drive and partition that should be flagged as bootable is the partition with the super block containing Lilo, Your can check this with cfdisk. If windows & Linux are on physically different hard drives, your bios has to know which one to boot. it would help if we knew how many harddrives you hare and what partitions are used for what,
 
Old 10-18-2009, 01:58 AM   #13
S1NN3R
LQ Newbie
 
Registered: Oct 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lumak View Post
the only drive and partition that should be flagged as bootable is the partition with the super block containing Lilo, Your can check this with cfdisk. If windows & Linux are on physically different hard drives, your bios has to know which one to boot. it would help if we knew how many harddrives you hare and what partitions are used for what,
i've got two hard drives. they're maxtor sata drives, drive 0 has linux on it drive 1 has windows. if that helps...
 
Old 10-18-2009, 02:39 AM   #14
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Check lilo.conf and at the bottom will be something like this:

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

Now don't change this. Instead, add this to the end of the file:

# Windows config begins
other = /dev/sdb1
label = Windows
# Windows config ends

And then run lilo and hopefully you won't get any errors.
Now try it. Of course, you'll need to change /dev/sdb1 to whatever your Windows partition is. If it's the secondary SATA drive, it will probably be /dev/sdb1. If in doubt, run "fdisk -l".

Last edited by voyciz; 10-18-2009 at 02:42 AM.
 
Old 10-18-2009, 04:33 PM   #15
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 13.37 (multilib)
Posts: 1,043

Rep: Reputation: 41
I have a similar setup with Windows on sda and linux on sdb. One possible cause of your problems is that your Windows setup has a small recovery partition on sdb1 and what you really need to boot is sdb2. You can check this out by running fdisk -l as root.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 01:49 PM
Installed Slackware cli_man LinuxQuestions.org Member Success Stories 0 09-12-2003 09:56 PM
Installed Slackware, but don't see everything that installed alpinewonder Slackware 4 07-17-2003 11:51 PM


All times are GMT -5. The time now is 11:29 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration