LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-06-2007, 12:38 PM   #46
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15

dunno how this is done. can u explain?
 
Old 05-06-2007, 12:40 PM   #47
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Put in the slackware install CD/DVD and skip to the lilo install screen. Install lilo to MBR.
 
Old 05-06-2007, 12:41 PM   #48
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
u forgot one thing - my cdrom is quite broken.
hm, but i can give a try.
 
Old 05-06-2007, 01:16 PM   #49
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
i don't see any skip options.
 
Old 05-06-2007, 01:48 PM   #50
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
I understand that:
1. "When i load windows, it just does not find the partition and asks to reboot. Still i can access all the windows files using slackware."
2. cfdisk shows Windows as /dev/hdc1 and lilo is set to boot /dev/hdc1
3. Posting the exact error may be useful rather than "...and error message shows up, don't remember exactly, but it's mbr error".
4. Lilo installs with no errors by running /sbin/lilo

I am not convinced it is the MBR. I am thinking misconfiguration or file corruption. What does the Windows boot.ini look like?
 
Old 05-06-2007, 02:44 PM   #51
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I didn't know that /sbin/lilo actually installed lilo. Sorry
 
Old 05-06-2007, 03:18 PM   #52
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
Quote:
Originally Posted by H_TeXMeX_H
I didn't know that /sbin/lilo actually installed lilo. Sorry
This is one small reason I now prefer grub.
The /sbin/lilo command must be rerun every time there is a change to the lilo configuration file. With grub you just change it and that's all.
 
Old 05-07-2007, 10:54 AM   #53
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,459

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
First- I am very sorry that I missed the extended partition. I am very glad that other posters stood on this mistake. I should not have being playing with an MBR so late at night my time.

My review of the thread to date.
1. MBR record of the disk partitioning is correct.
2. Rerunning lilo has not effected any change.
3. OP says that Slackware can access the Windows partitions of the disk, suggesting that Windows partitions are intact.
4. Problem occurs only when control of the boot process is passed to the Windows boot code.

My conclusion from the above is that the problem lies with the Windows boot code.

Perhaps a hex dump of the first sector in the primary Windows partition would provide a clue?
 
Old 05-08-2007, 07:27 AM   #54
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
Quote:
Originally Posted by K05T9
could u tell me how to backup mbr in slackware?
Or i should just copy the partition table file somewhere?
The MBR is the first 512 bytes of the drive, you can use dd to copy it (google for it or do a search here). You can also use cfdisk: choose "[p]rint" and then "[r]aw" and type a filename.

I don't think cfdisk allows you to write back the partition table (a synonym for MBR from what I can tell). You can use dd for that though.

http://en.wikipedia.org/wiki/Master_boot_record may help and includes the dd commands you'll need.

Take care!
 
Old 05-08-2007, 11:56 AM   #55
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
The thing is, as allend says, it's likely not the partiton table that's at fault. I mean, if restoring the old MBR didn't work, and neither did re-installing lilo ... then it can't be the MBR.

You might need to re-install Window$. Looks like it's screwed.
 
Old 05-08-2007, 04:12 PM   #56
campher
Member
 
Registered: Jul 2006
Distribution: slackware
Posts: 51

Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H
The thing is, as allend says, it's likely not the partiton table that's at fault. I mean, if restoring the old MBR didn't work, and neither did re-installing lilo ... then it can't be the MBR.

You might need to re-install Window$. Looks like it's screwed.

win installation cd has some repair functions.

(we fixed a non bootable pc this way after partition magic crashed during resizing of c partition. as far as i remember mbr was ok but the first sector of the ntfs filesystem or the position of the winloader on the filesystem was broken)

maybe the easiest way is to repair win with a installation cd (without the whole mess of reinstallation, reconfiguration of win reinstallation of software.....)
this will overwrite the mbr and linux is no longer bootable.
then you have to boot into linux with cd, floppy or usb make a backup of the mbr and reinstall lilo.
 
Old 05-11-2007, 12:13 PM   #57
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
Sorry i didn't respond to your answers. It's because of travel.
Finaly, i have done with this problem! I just needed to convert partition to fat32 and the boot error was gone. After that, i converted partition back to ntfs and all is working fine again.
Here i found the answer: http://www.hardwareanalysis.com/content/topic/19004/
Looks like it's a quite global problem.
Thanks to all, who has tried to help me.

Last edited by K05T9; 05-11-2007 at 12:15 PM.
 
  


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
Does a Windows XP repair install overwrite the MBR? BigFoot13 Linux - General 11 05-06-2007 01:40 PM
want to nuke the MBR & create new MBR di11rod Linux - Software 9 12-30-2006 08:25 AM
Restoring MBR :partitions are detected only after the reboot after MBR restoration? sharathksin Linux - Newbie 2 04-14-2006 07:48 AM
Using the installation CD to boot and repair the MBR in Mandrake 10 dvela Mandriva 5 08-19-2004 09:17 AM
How to repair win-destroyed MBR without a floppy J_Szucs Linux - Newbie 7 12-25-2002 05:51 PM


All times are GMT -5. The time now is 04:42 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration