LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 11:14 AM   #31
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48

Quote:
Originally Posted by K05T9
I have only 3 partitions:
1. windows
2. windows data
3. slackware
hdc2 is extended partition(don't know what it means) and hdc5 is windows data partition, which i can access using slackware without problems.
as u can see:
hdc1 Boot Primary NTFS 7205.35
hdc5 Logical NTFS [^C] 27003.60
hdc6 Logical Linux ReiserFS 5848.18

all is working perfectly in slackware, as cfdisk shows.
I would like to save data.
Checking my disk, the start of the extended partition is also incremented by one from the previous partition, start point is the same as the first logical partition, and end point is same as the end of the last logical partition.
It would seem that is not the problem.
 
Old 05-06-2007, 11:34 AM   #32
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
yeah, looks like the best way is to fix mbr, but my cdrom is broken, and i haven't windows cd either. but i have a usb flash, which is not working quite correctly. i guess i need some kind of small sized rescue cd and then boot it from usb.
Here's a link to my post: http://www.linuxquestions.org/questi...d.php?t=551575
 
Old 05-06-2007, 12:20 PM   #33
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
Do you also get an error by just running "/sbin/lilo" as root to install lilo?
 
Old 05-06-2007, 12:26 PM   #34
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
No, there are no errors. Lilo is alright.
Code:
Added Windows *
Added Linux
But still windows doesn't boot after that.

Last edited by K05T9; 05-06-2007 at 12:29 PM.
 
Old 05-06-2007, 12:39 PM   #35
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
Take a look at "man lilo.conf"
If you add the "ignore-table" option to the Windows section and rerun lilo again does Windows boot? If you get an error is it the same one?
 
Old 05-06-2007, 12:56 PM   #36
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
I put ignore-table here:
Code:
# Windows bootable partition config begins
ignore-table
other = /dev/hdc1
  label = Windows
  table = /dev/hdc
# Windows bootable partition config ends
But i got the same message.
'man lilo.conf' says that i need to write 'ignore-table' under global section, is it alright to put it under windows section?

Last edited by K05T9; 05-06-2007 at 01:00 PM.
 
Old 05-06-2007, 01:00 PM   #37
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
try:
other = /dev/hdc1
label = Windows
ignore-table

(Remember you will need to rerun /sbin/lilo to make any changes take effect)
 
Old 05-06-2007, 01:04 PM   #38
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
Both lilo and grub save a good copy of the mbr when installed.

For lilo it is at '/boot/boot.0300'.

For grub it is at '/boot/grub/mbr.hda.2717'

Those numbers will probably be different for you.

You can use dd to restore these backups if you want. Not sure if that will solve the problem. I mean, it'll restore what you had before you installed lilo or grub.
 
Old 05-06-2007, 01:05 PM   #39
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
i got a syntax error, when i put it there
Code:
Syntax error at or above line 42 in file '/etc/lilo.conf'
root@localhost:~# lilo
Added Windows *
 
Old 05-06-2007, 01:10 PM   #40
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
i'm not sure 'boot.1600' is the right one backup
Code:
3м |PP|PW˽8n |	uIt8,t < t NF s*F~t~t uҀFFV
 ! s 뼁>}Ut~ t 멋W˿ V r#$?ފCцֱB9V
w#r9Fs |NV sQOtN2V V `UAr6Uu0t+a`j j v
vj h |jjBaasOt2V aInvalid partition table Error loading operating system Missing operating system                                                          ,Dc)    ?      
 t                                U
'Invalid partition table Error loading operating system Missing operating system' - does not look good
 
Old 05-06-2007, 01:12 PM   #41
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
Sorry my lilo is a bit rusty as I mostly use grub now.
Okay one last try.
Try the "ignore-table" in the global section, I don't know if you need to remove or leave the "table = /dev/hdc" in the Windows section.
There is also a "fix-table" option but read the man page before trying that.
 
Old 05-06-2007, 01:26 PM   #42
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
nothing changes
 
Old 05-06-2007, 01:30 PM   #43
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
That's all I know to do with lilo.
 
Old 05-06-2007, 01:36 PM   #44
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
So, i guess i just need to fix my mbr to boot windows partition. I'll try windows cd next week, but now i got only 128mb empty usb stick on broken fs and no idea how to run a boot cd from it.
 
Old 05-06-2007, 01:37 PM   #45
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
can't you just re-install grub or lilo, won't that overwrite the mbr and probably fix it too ?
 
  


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


All times are GMT -5. The time now is 10:14 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