LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 05-11-2006, 03:32 PM   #1
edM
Member
 
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137

Rep: Reputation: 15
how to activate a partition?


hi,
i am trying to boot using my hd, rather than a floppy, but when i update lilo it says "Partition 2 /dev/hda is not marked active"

how do i activate it?

/dev/hda1 swap
/dev/hda2 linux

ty
 
Old 05-11-2006, 03:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i assume that's a bootable flag, not that linux officially has any interest in them. just use fdisk or cfdisk to add the flag to that partition.
 
Old 05-11-2006, 03:42 PM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
I'm not a lilo guru, take a look at shilo's post called "this is how I do it all"

I assume? not sure you didnt say that you just installed? yes?

there are two section there for you to read, his points on his "fstab" and the "lilo" section.

You can boot up off the floppy disk emergency if you created one.

Also check in your bios that the boot sector is not write-protected that messes me up on mine. There are security implications but that's the only way I can get linux to work for me at all.

I'm not sure but this should at least get you to the point where you can look at Shilo's and make a judegment OKAY this is mine and may not work for you. I'm just giving it as an example.

it sounds? like you need to go in to console as root:

Quote:
pico /etc/lilo.conf
and in there verify that you have

Quote:
boot=/dev/hda
and

Quote:
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
This assume that "/boot" directory has the nessary System.map, .config an vmlinuz symlinks.

Last edited by Old_Fogie; 05-11-2006 at 03:43 PM.
 
Old 05-11-2006, 05:10 PM   #4
edM
Member
 
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
i assume that's a bootable flag, not that linux officially has any interest in them. just use fdisk or cfdisk to add the flag to that partition.
lol ok, well adding a boot flag, as you said, didnt do squat. apart from not throwing any errors when you run lilo!

just to clarify, 3 weeks ago i changed over hardware (full PCs worth), and have just been booting from a floppy. i dual boot with winXP, it being a sata disk, while linux is on a regular IDE disk.

/dev/hda1 swap
/dev/hda2 linux
/dev/sdb1 WinXP

so now i want to add the lilo booter to the disk. i reran the liloconfig script and added it the "root disk" then i changed the boot sequnence so the IDE boots first.

but when i have the IDE drive as #1, it craps out before the lilo screen and i have to do a hard reboot.

 
Old 05-12-2006, 01:07 AM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
I can't help you sorry. I don't have SATA so I have no experience with it. Hopefully someone will for you shortly.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to activate php ricnoah Red Hat 2 02-14-2006 02:35 AM
how do I activate mousekeys paulwhalley Linux - Newbie 1 12-26-2005 11:56 PM
Fedora Activate partition jocast Linux - Software 1 12-19-2004 01:20 PM
How activate s-video out? stpadberg Linux - Laptop and Netbook 0 04-22-2004 05:47 PM
how to activate partition using windows 2000 server drfatman Linux - Newbie 3 08-02-2003 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration