LinuxQuestions.org
Review your favorite Linux distribution.
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 02-22-2007, 09:01 AM   #16
AdesT
LQ Newbie
 
Registered: Feb 2007
Location: Lithuania, Siaulia
Distribution: Ubuntu 6.10
Posts: 15

Original Poster
Rep: Reputation: 0

Hmmm... a few things for clarification that I noticed.

1# Linux sees both off my disc's seperatly aka sda/sdb. If raid was installed wouldn't it see only a single one?

2# The driver I use for windows to see my HDD's when writing is VT8237. I can only locate it for v. 2.4 Linux kernel, isn't the current one 2.6?

Any suggestions what I could do now?
 
Old 02-22-2007, 10:15 PM   #17
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Quote:
kernel, isn't the current one 2.6?
Yes 2.6.~ is the current one i believe.
 
Old 02-23-2007, 06:28 AM   #18
AdesT
LQ Newbie
 
Registered: Feb 2007
Location: Lithuania, Siaulia
Distribution: Ubuntu 6.10
Posts: 15

Original Poster
Rep: Reputation: 0
What can I do if I can only get the drivers for v 2.4?
 
Old 02-23-2007, 08:13 AM   #19
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
With the 2.6 kernel the driver for your drive is included. No need to install it. You need to tell us exactly what happens when you try and boot. Also boot any live cd and post fdisk -l so we can see the partitions on your drive. There is something else going on because it should not be this hard. Try and keep it simple and don't just keep reinstalling. Doing the same thing over and over and expecting different results most times will not work. Are you sure you are installing grub to the mbr. I would boot to the grub command prompt and see what is going on.
http://www.smop.co.uk/node/43
 
Old 02-23-2007, 09:10 AM   #20
AdesT
LQ Newbie
 
Registered: Feb 2007
Location: Lithuania, Siaulia
Distribution: Ubuntu 6.10
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
gentoo@livecd ~ $ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 19456 135797445 f W95 Ext'd (LBA)
/dev/sda5 2551 19456 135797413+ 7 HPFS/NTFS

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 19456 156280288+ 7 HPFS/NTFS
gentoo@livecd ~ $
I had to kill the linux partipation to use win os normally, since I couldn't get past grub.

I tried installing grub/lilo in any place I had the chance to. MBR / SDB / SDA / Floopy, all resulted in error when writing.

I do not get a command line in grub. It doesn't load that far.
All I did see in my BIOS was:

Booting from CD:
Booting from CD:
GRUB loading... 1.5

Nothing more.

I also checked for a RAID array in BIOS, nothing was set up.

Last edited by AdesT; 02-23-2007 at 09:14 AM.
 
Old 02-24-2007, 04:12 AM   #21
AdesT
LQ Newbie
 
Registered: Feb 2007
Location: Lithuania, Siaulia
Distribution: Ubuntu 6.10
Posts: 15

Original Poster
Rep: Reputation: 0
Seems like I'm screwed.
 
Old 02-24-2007, 04:48 AM   #22
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I broke up my RAID in order to install Linux and do not have experience to advise on the type of your RAID system.

However I know if a Linux doesn't support your RAID then two disks will be seen instead of just one. It is possible in RAID 1 the boot loader can be placed in any one disk because the other is just a mirror image. How a Linux would see a RAID 0 (stripping mode) is beyond me. I read from somewhere that a boot loader can't read a RAID and so it may be necessary to place the full boot loader in one disk in a RAID 0.

I think you are wasting your time by feeding your RAID to different distros as they will react differently without a driver. Some may support a software RAID while others will not. If the distro read and write the files different to your Windows then the whole thing can really screw up.

I am sure one can run RAID systems in Linux but possibly not with many operating systems together and across different platforms.

May be they will come forward to advise you.

Last edited by saikee; 02-24-2007 at 04:50 AM.
 
Old 02-24-2007, 05:45 AM   #23
AdesT
LQ Newbie
 
Registered: Feb 2007
Location: Lithuania, Siaulia
Distribution: Ubuntu 6.10
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by saikee
I broke up my RAID in order to install Linux and do not have experience to advise on the type of your RAID system.
A raid is not setuped at the current moment, the software in bios is there. Maybe I should try creating an array?
I also tried removing completely removing one of my discs and only leaving a single HDD and installing then as well.


However I know if a Linux doesn't support your RAID then two disks will be seen instead of just one. It is possible in RAID 1 the boot loader can be placed in any one disk because the other is just a mirror image. How a Linux would see a RAID 0 (stripping mode) is beyond me. I read from somewhere that a boot loader can't read a RAID and so it may be necessary to place the full boot loader in one disk in a RAID 0.

I think you are wasting your time by feeding your RAID to different distros as they will react differently without a driver. Some may support a software RAID while others will not. If the distro read and write the files different to your Windows then the whole thing can really screw up.
Theres no driver that I know of, and it should be installed into the 2.6 kernel as said above.

I am sure one can run RAID systems in Linux but possibly not with many operating systems together and across different platforms.
I tried killing windows and just leaving linux, nothing changed

May be they will come forward to advise you.
I heard that you can load Linux from the windows bootloader. And that there are also operating system independent bootloaders, would it be wise to try that route out?
 
Old 02-24-2007, 06:55 AM   #24
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Yes you are dead right but XP's NTLDR boot loader also requires

(1) a fully operationaly Linux able to boot itself first.

(2) That it has a boot loader residing in the boot sector of its root partition.

(3) That you can copy the first 512 bytes of its boot loader and place in the "C" drive of XP, as the bugger is either too lazy to come out fetch it for itslef or too ignorant to read a Linux partition or too proud to be seen to support Linux.

(4) That NTLDR can hand the control to Linux by loading the 512 bytes of the boot loader into memory.

Fat chance you can do it if you can't install a Linux boot loader.

Your best chance is for someone knowledgeable in using RAID for both Windows and Linux to advise on the setup.

All system independent boot loaders "chainload" the boot loader of a system to be booted so that they do not need intelligence to read the partition to understand its content. This is how a NTLDR boots a Grub or Lilo. If you haven't got a Linux boot loader for another boot loader to chainload to you are effectively stuck.
 
Old 02-24-2007, 08:44 AM   #25
AdesT
LQ Newbie
 
Registered: Feb 2007
Location: Lithuania, Siaulia
Distribution: Ubuntu 6.10
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by saikee
Your best chance is for someone knowledgeable in using RAID for both Windows and Linux to advise on the setup.
I know absolutely no one who has even seen Linux apart from a friend that I made to try it out, and as basic logic applys, his knowledge here isn't any bigger than mine.

Guess I'll wait till my secondary pc is fixed. And forget about this one, since I don't seem to have any suitable options.
 
Old 02-24-2007, 09:17 AM   #26
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I think you may be able to download free Windows-based cloning software like Acronis, to use in a limited period, to clone the Windows into an external hard disk.

If you can save your Windows image or your personal data you can afford to break up the Raid and use it as two separate disks. For that you can have all the systems you can download and install.
 
Old 02-24-2007, 02:27 PM   #27
AdesT
LQ Newbie
 
Registered: Feb 2007
Location: Lithuania, Siaulia
Distribution: Ubuntu 6.10
Posts: 15

Original Poster
Rep: Reputation: 0
I have nothing in my computer that I value. I would break the raid, but problem is,
A: I have no idea how.
B: I can't even find traces of its existence other than a word on a floppy driver.
 
Old 02-24-2007, 05:29 PM   #28
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Years ago when I run SCSI disks I believe they are daisy-chained together and you need terminator resitor at the last one to indicate it is the last one in the chain.

I would just pull one out in the middle, install a system at the remaining unit, install back the first unit and see if I could install a system there.

Last edited by saikee; 03-09-2007 at 07:42 AM.
 
Old 03-04-2007, 04:02 AM   #29
kmashraf
Member
 
Registered: May 2001
Location: Madras, India
Distribution: Mandrake, Vector, Fedora, Slackware-Live, CentOS, Ubuntu, Kubuntu, PCLOS, Sabayon
Posts: 34

Rep: Reputation: 15
I am having a similar problem!

I too am having a similar problem.
This is my situation
I've been using various flavours of GNU/Linux over the last few years.
I also upgrade the various components of my PC regularly. Upgrading to a larger hard disk, from a CD/DVD drive to DVD Writer (most GNU/Linux distro's now appear on DVD's ) putting in a 3D card for games on Windows, change my motherboard and RAM when they become outdated.
My current config is as follows
AMD Athlon 64 Processor 3000+
MSI K8NGM2 Motherboard
512 MB DDR RAM
1 40 GB IDE Hard Disk
1 80 GB IDE Hard Disk
1 160 GB SATA Hard Disk
1 DVD Writer
I have the following OS's installed on the above mentioned hard disks in the following locations
Windows XP Pro (upgraded from Windows ME a couple of years back) and PCLinuxOS on the 40 GB HDD 'hda'
Mandriva 2007 (upgraded from Mandriva 2005 LE)on the 80 GB HDD 'hdb'
Another install of Windows XP Pro on the SATA HDD (this may not be very relevant to my problem I feel) 'sda'
To detail the above
Windows XP Pro is sitting on hda1 (fat32 partitions) and hda5, hda6 are the additional fat32 partitions. These partitions are approx. 10GB each.
PCLinuxOS sits on hda9 (root partition) and hda7 (due to my Mandrake Linux 9.0 install) being a boot partition. Originally these two partitions were meant for Mandrake Linux 9.0. I replaced it with PCLinuxOS after I installed the 80 GB IDE harddisk. Its bootloader 'lilo' is on hda9. Please note that the original bootloader for Mandrake Linux 9.0 resides on the MBR of hda1
Mandriva 2007 sits on hdb6 with hdb1 its boot partition, hdb6 being the root partition. As explained earlier I upgraded Mandriva 2005 LE to the current version recently and when the problems started. At the end of the upgrade the bootloader fails with the following error:-

lilo failed: lilo relocation error: /lib/tls/libc.so.6: symbol_dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference

I have tried with two different Mandriva 2007 DVD's, disconnected the SATA disk, tried doing a rescue (by default it mounts the PCLinuxOS partition, but I manually mount the Mandriva partition and then try installing the bootloader) it still fails with the same error.
In trying to solve the problem I tried with Trinity OS and managed to scrub my original LILO on the MBR of hda1 and now cannot boot to my GNU/Linux installs at all.
I would like to know if there is a way to install lilo manually from the command line to the mbr (using a rescue disk like Trinity OS)of hda1 and use the current lilo.conf which exists on the second hdd on hdb6? In other words update my lost bootloader on hda1?
 
Old 03-04-2007, 05:26 AM   #30
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
kmashraf,

Lilo does not support manual booting. To rescue Lilo one needs to mount the unbootable Linux with a operational one, say source it from a Live CD, change root to the mounted root partition and issue the "lilo -b" command.

The key steps have been documented in Task B3 in the last link of my signature. I am not familar with the error reported by your Lilo but would recommend the following

(1) Freeze the disk order to the one you are most comfortable with and don't change it again.

(2) Restore Lilo

(3) If (2) fails check the unbootable Linux's /etc/fstab to make sure the partitions Liniux must mount are correct. Try to run the Linux from the installation CD and restore Lilo.

(4) If Lilo problem persists you can opt for Grub in (3).

(5) Try to boot the unbootable Linux with Grub using the information from /etc/lilo.conf. You may need to study Task G section of the above link.
 
  


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
GRUB Bootloader Fails To Load After Fedora Core 5 Installation panthrax Linux - Software 6 05-07-2007 07:10 AM
startx fails after nvida driver instal. no screens ianio SUSE / openSUSE 5 02-03-2007 12:50 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
1680 Kb floppy fails for GRUB bootloader aus9 Slackware 3 09-12-2004 01:23 PM
bootloader fails to install....!!!! neon2k2 Mandriva 10 08-26-2004 09:32 AM


All times are GMT -5. The time now is 07:36 AM.

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