ARCH BOOTLOADER installation
Hello fellas my prob is :-
I installed (well tried) arch linux 0.7.1 and from cd most of packages didnot get installed probably media was corrupted so i googled and got way 2 install frm ISO without burning it , everything went fine but i couldnot INSTALL ANY BOOTLOADER , when i selected either it said BOOTLOADER INSTALLATION FAILED check /dev/tty5 for detail [or SORTA THING ] or it got installed and i run it sez cant find the device or doesnot exist |
Ok dude, chill a moment.
What do you have on the computer atm? Do you have another version of linux? Windows? or just Arch? What loaders have you tried, how and what degree of sucess has each given? What state is the system now? Can you boot anything? |
Arch 0.71 uses Grub 0.97 by default.
If you can access it the boot loader is already there. i.e. if you get a Grub shell out by typing Code:
grub It is only 4 lines of commands and takes 5 to 10 minutes build Grub from scratch. Having got Grub the instruction to put Grub into the MBR is Code:
grub-install /dev/hda |
I had a similar problem with Slack. Suprise, suprise. The problem is, that in some distros th bootloader tries to install into hda's MBR. What if you have only hdb,hdc and cdrom on hdd? Yeah, it is non-standard, but I have such config. That could be a problem. We cannot assume that everyne has the same hardware config.
|
I don't think it matters at all whether you have hdb, hdd, sda, sdb as your first bootable disk.
You have to tell the installer "what partition" you want to install the Linux. The boot loader destination is always quoted as either the MBR or the root partition. In rare situation you may given a list of hard disks to choose from. The installer therefore cannot possibly put a boot loader on an imaginary disk or always in hda. Grub has none of this confusion because it uses a numbering system. Its first disk (hd0) can be hdb, sda or whatever you've specified in the BIOS setting. It just receives the information from the BIOS and uses it and couldn't care less about what it is. What tend to happen is the installer fails to implement the boot loader installation and causes the distro temporarily inaccessible. A Linux user in this case should learn to use a Live CD as a stepping stone to "hoop" (using the change root command) back the unbootable Linux to do the rescuing work. |
-- I HAD WINDOWS (XP AND 98 ) THEY TOO DONT RUN
I DONT CARE ABT WINDOWS(s) I want LINUX INSTALLED andi dooo see an option in the linux bootloader (yeah its GRUB) and it has arch linux written on it and when i press enter on it it shows DEVICE DOESNOT exist AND I CANT BOOT ANY OS.and ITS " bdb " in bios its SECONDARY SLAVE |
I HAVE GNOPPIX (a live CD ) show do i fix it please would u tell me ?
|
Boot to the Gnoppix
click terminal, do a Code:
sudo fdisk -l You invoke a Grub shell and ask Grub to setup itself in the MBR using the information from the root of Arch 0.71, as follow Code:
grub A Linux cannot rescue a Windows if it wasn't bootable before. If your systems were working before then Grub will boot them. Paste the screen information of Code:
fdisk -l I repeat, your Windows must be in working condition before because Linux can't fix them. A linux can "boot" them only. |
Quote:
|
Well, from what I see, arch 0.71 is still not too mature. Grab arch 0.7 ISO and burn it, boot and go from there. Make sure your media isn't messed up.
Anyway, here is that section of my menu.lst, if it helps. # Arch Linux title Arch Linux root (hd1,0) kernel /boot/vmlinuz26 root=/dev/discs/disc1/part1 ro (I have Arch on my second disc. If it's on the first, change (hd1,0) to (hd0,0), and disc1 to disc0) |
WELL I M GETTIN FRUSTATING FELLAS , i have only 1 hd connected and it is shown as HDB , my swap partition is HDB6 and root is HDB7 (with reiser FS) now can any one be kind enough 2 tell me how 2 write a menu.lst for my self or just tell me what to paste whree in grub menu.lst so i might run my grub
------------- YOUR PREVIOUS REMEDIES -------- I tried em all but noting but surprisingly when i ran my live CD (of gnoppix) when i configured grub just how saikee said it didnot seem 2 work however when i REBOOTED my system , MY WINDOWS XP AND WIN98 were back without any HINT of LINUX ....... I m forry for any bugging 2 u all (my windows 98 is in HDB1 and XP in HDB2 ) |
You did it to yourself because you never told us there were other systems in your disk and so we all assumed Arch was in the first partition.
You can correct the mistake by going through my post #8 again but this time to setup Grub into MBR with Arch's root. That is after booting to Knoppix you type Code:
grub |
also i read in a post someone said cant read partition or sorta thing because in kernel compilation he forgot to put in some support for FILE SYSTEMS , in arch linux , u install ur kernel and it tells BUILDING KERNEL or sorta thing so is there any possibility of such things also it prints out to modify some links of kernel , i did [BEFORE TRYING GNOPPIX that i earlier mentioned] and then when i selected the thing it showed error 23 ERROR PARSING THE LINE
|
and SAIKEE this
grub root (hd0,6) setup (hd0) quit thing doesnot work says invalid STRING i REMIND AGANIn MY SWAP IS HDB6 MY ROOT (with reiser fs is ) HDB7 -=--- SORRY FOR THE HEADACHE ---=- |
If you have only one drive the (hd0,6) is the 7th partition of the first disk as Grub counts from 0.
Also it worked before because it restored your Windows boot loader at (hd0,0) back to the MBR. The only reason that it fails to work is that your Grub in hdb7 is "incomplete" and cannot be setup. You can investigate it as follow. Boot it to Gnoppix and type Code:
mkdir /mnt/hdb7 Code:
less /boot/grub/menu.lst If you haven't got /boot/grub/menu.lst inside Arch then it is a different ball game and you will need an additional tool to boot Arch. |
All times are GMT -5. The time now is 10:49 PM. |