Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
thanks guys for your time!
ok,so i have hdd with debian distro on it and table partition as follows: sda1(vfat- primary), sda4 (vfat- extended),sda2(primary linux swap),sda3(ext3-primary-boot).
on another hdd which is smaller i recreated the partition table with fdisk and resized the sda4 extended one, then i used clonezilla and cloned sda3 which basically contains the os and the one partiton that i most need.
the first hdd has lilo 2.22 boot loader, on the second hdd that i cloned i have to restore lilo but do not know how(any sugestions here will be most welcomed), so i thought to install grub from a ubuntu 9.10 installation cd. here is what i have tried:
ubuntu@ubuntu:~$ grub-install --root-directory=/boot /dev/sda3
Could not find device for /boot/boot: Not found or not a block device.
any sugestions on how to do it? i need to boot the cloned os. thank you!!
I don't see anyone else so you must be talking to me.
Actually, he is using lilo.
My method does not depend on any file system being mounted.
However, lilo will be copied to the new disk with the same configuration so it will attempt to boot from the first disk that the motherboard sees. That will work if he removes the original disk. It will not work if he keeps both disks.
If he keeps both disks then he should edit the lilo.conf on the second disk then chroot into that partition and run the lilo installer.
thank you guys for reply!! so i've tried what stress_junkie suggested but with little success, it did go however from black screen to just appearing " Li_ " and then hanged. then i looked over the article suggested by larry webb and followed the steps for installing grub2 and it worked like a charm.
thanks again guys for your solutions and suggestions!! topic can be closed, cya!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.