Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
to see your own partitioning scheme. You only mentioned Arch 0.71 so we assume its root is in hda1 but ajust it according to your own partitioning scheme.
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
root (hd0,0)
setup (hd0)
quit
If Grub reports everything done and no error then on a reboot you will have Grub the boot loader.
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
here plus the content of Arch's /boot/grub/menu.lst for further assistance.
I repeat, your Windows must be in working condition before because Linux can't fix them. A linux can "boot" them only.
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 intall 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.
Maybe you are right. Maybe it works in arch. Muhhamad, saikee is right, give us a prinout of grub's error, if any. Good luck, SHOUTER GEEK
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
root (hd0,6)
setup (hd0)
quit
For us to write a Grub menu.lst from scratch we need the content of /boot of your Arch Linux.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.