LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2004, 02:18 PM   #16
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30

Quote:
Originally posted by david_ross
It will just print extra information to the screenand should show you when/if it fails.
So, what do I have to do now?
 
Old 06-07-2004, 02:37 PM   #17
brentos
Member
 
Registered: Nov 2003
Distribution: Fedora Core3, RHEL3,4
Posts: 92

Rep: Reputation: 15
I don't think he is at the prompt yet and is not trying to install lilo, but it is the slackware installation that is trying to put lilo on for him.

Just do what the installer says, use a bootdisk to start linux and then at the prompt try to install lilo with verbose on.

If that doesn't work, you might want to rethink your HD layout, sounds complicated :P
 
Old 06-07-2004, 02:51 PM   #18
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by brentos

Just do what the installer says, use a bootdisk to start linux and then at the prompt try to install lilo with verbose on.
yea how do I do that?
 
Old 06-07-2004, 03:10 PM   #19
brentos
Member
 
Registered: Nov 2003
Distribution: Fedora Core3, RHEL3,4
Posts: 92

Rep: Reputation: 15
Well were you able to boot into slackeware with a boot disk?

If so you will first have to make sure that lilo.conf in /etc is correct

After that you can do a test install of the lilo boot record by doing lilo -t -v
the move -v that you put the more information lilo return to the console for you, if you get an error and can not figure it out try adding another -v

If that does not return any errors then you can install lilo by doing lilo -v -v
I always use two, after that if you did not get any errors then you can try to reboot your system, just make sure you have a boot disk if anything goes wrong so you can get back into linux to fix the MBR.

If you need help with configuring lilo.conf let me know.
 
Old 06-08-2004, 01:09 AM   #20
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by brentos
Well were you able to boot into slackeware with a boot disk?

If so you will first have to make sure that lilo.conf in /etc is correct

After that you can do a test install of the lilo boot record by doing lilo -t -v
the move -v that you put the more information lilo return to the console for you, if you get an error and can not figure it out try adding another -v

If that does not return any errors then you can install lilo by doing lilo -v -v
I always use two, after that if you did not get any errors then you can try to reboot your system, just make sure you have a boot disk if anything goes wrong so you can get back into linux to fix the MBR.

If you need help with configuring lilo.conf let me know.
Yes, I'm able to boot with a boot disk.

Where do I run the command lilo -t -v -v ? Is it at the konconsole?
 
Old 06-08-2004, 08:45 AM   #21
brentos
Member
 
Registered: Nov 2003
Distribution: Fedora Core3, RHEL3,4
Posts: 92

Rep: Reputation: 15
Yes you can run it at any prompt. Just make sure the config is correct before you do it.
 
Old 06-15-2004, 06:16 AM   #22
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Still can't get it to work

Here is my lilo config

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hdb
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# DOS bootable partition config begins
other = /dev/hde1
label = WinXP
table = /dev/hde
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb1
label = Linux
read-only
# Linux bootable partition config ends

------------------------------------------------------------

root@slacker:~# fdisk -l

Disk /dev/hdg: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdg1 2 20023 160826715 f W95 Ext'd (LBA)
/dev/hdg5 2 8925 71681998+ b W95 FAT32
/dev/hdg6 8926 17849 71681998+ b W95 FAT32
/dev/hdg7 17850 20023 17462623+ b W95 FAT32
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0x2588 of partition table 5 will be corrected by w(rite)

Disk /dev/hde: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hde2 2551 19458 135813510 f W95 Ext'd (LBA)
/dev/hde5 ? 77941 2524 1541696845+ 11 Hidden FAT12

Disk /dev/hdf: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdf doesn't contain a valid partition table

Disk /dev/hdb: 6400 MB, 6400235520 bytes
255 heads, 63 sectors/track, 778 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 729 5855661 83 Linux
/dev/hdb2 730 778 393592+ 82 Linux swap
root@slacker:~#

-------------------------------------------------------------------------------------------

root@slacker:~# lilo -t -v -v
LILO version 22.5.7.2 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2003 John Coffman
Released 20-Aug-2003 and compiled at 19:15:26 on Aug 25 2003.

raid_setup returns offset = 00000000 ndisk = 0
BIOS VolumeID Device
Reading boot sector from /dev/hdb
pf_hard_disk_scan: ndevs=3
0340 3836753B /dev/hdb
2100 42DE42DD /dev/hde
2200 36808634 /dev/hdg
device codes (user assigned pf) = 0
device codes (user assigned) = 0
device codes (BIOS assigned) = 0
device codes (canonical) = 7
Warning: Unable to determine video adapter in use in the present system.
Using MENU secondary loader
Calling map_insert_data
Secondary loader: 17 sectors (0x3200 dataend).
bios_boot = 0x80 bios_map = 0x80 map==boot = 0 map S/N: 3836753B
Mapping message file /boot/boot_message.txt
Calling map_insert_file
Message: 1 sector.
BIOS data check will include auto-suppress check

Boot other: /dev/hde1, on /dev/hde, loader CHAIN
Mapped 6 (4+1+1) sectors.
Added WinXP *

Boot image: /boot/vmlinuz
Setup length is 10 sectors.
Mapped 2398 sectors.
Added Linux

BIOS VolumeID Device
80 3836753B 0340
81 42DE42DD 2100
82 36808634 2200
The boot sector and the map file have *NOT* been altered.
root@slacker:~#
 
Old 06-16-2004, 01:42 AM   #23
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
 
Old 06-16-2004, 01:59 AM   #24
indeterminate
Member
 
Registered: Oct 2003
Location: Virginia, US
Distribution: Debian, Ubuntu, Knoppix.
Posts: 76

Rep: Reputation: 17
The test run looks good, no major errors.
Now try out "lilo -v -v". It should actually write the bootloader to the drive, then you can reboot to see if it worked.
 
Old 06-16-2004, 04:45 AM   #25
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by indeterminate
The test run looks good, no major errors.
Now try out "lilo -v -v". It should actually write the bootloader to the drive, then you can reboot to see if it worked.
thanx man it works.

But got another question.

Below is my hdd config

-------------------------------------------

ATA133 PCI Raid Card

Primary Master - 80GB HDD
Primary Slave - 80GB HDD
Both running as Raid 0

Secondary Master - 160GB HDD

-------------------------------------------

Mobo IDE Controller

Primary Master - CDRW
Primary Slave - 6GB HDD (Slackware installed to this HDD)
-------------------------------------------

root@slacker:/# fdisk -l

Disk /dev/hdg: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdg1 2 20023 160826715 f W95 Ext'd (LBA)
/dev/hdg5 2 8925 71681998+ b W95 FAT32
/dev/hdg6 8926 17849 71681998+ b W95 FAT32
/dev/hdg7 17850 20023 17462623+ b W95 FAT32
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0x2588 of partition table 5 will be corrected by w(rite)

Disk /dev/hde: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hde2 2551 19458 135813510 f W95 Ext'd (LBA)
/dev/hde5 ? 77941 2524 1541696845+ 11 Hidden FAT12

Disk /dev/hdf: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdf doesn't contain a valid partition table

Disk /dev/hdb: 6400 MB, 6400235520 bytes
255 heads, 63 sectors/track, 778 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 729 5855661 83 Linux
/dev/hdb2 730 778 393592+ 82 Linux swap
root@slacker:/#

------------------------------------------------------------------------------
Questions:

1) How do I mount my RAID 0 partitions? Tried hde and sd0/1, both also cannot.
 
Old 06-17-2004, 08:27 AM   #26
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
 
  


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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 06:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 05:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 09:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 08:35 AM


All times are GMT -5. The time now is 09:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration