Hi
I'm a noobie with Linux so please forgive my ignorance. I am trying to install AntiX 7.5 onto a Toshiba Portege 3110CT (192Mb RAM, 8Gb HD) which won't boot properly from a CD (external PCMCIA drive). I can start the CD but when I select any startup option it scrolls a whole load text saying it cannot find the CD drive. I have found a couple of posts on this website about installing from a partition on the hard drive, however, I cannot make it work.
My first attempt was to run the LiveCD from another computer and install to the laptops hard drive using a FireWire drive caddy, and then edit Grub's menu.lst and AntiX's fstab files to point at the right drive and partition. However this just bails at the point of starting X.
My second attempt was to copy the contents of the ISO image to an ext2 partition and re-configure the Grub menu.lst file to start from there. However I just get an error everytime saying:"Kernel panic -- not syncing. Try using init= with the kernel"
If someone could please point me in the right direction, maybe some other posts I haven't found or better instructions on how to set up booting the LiveCD from a HD partition, that would be fantastic.
Thanks in advance,
Peter.
topic title: Installing from a partition on the hard drive
15 posts
• Page 1 of 1
-
Posts: 16
- Joined: 12 Oct 2008
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
To install from a partition on hard drive, you need the antiX.iso and the vmlinuz and initrd.gz files from the 'live' side of the cd, not the ones in the 'normal' boot and an already working grub.
I have a partition sda5 with an antiX folder containing, the antiX.iso, vmlinuz and initrd.gz. here is my menu.lst from a working linux.
###fromiso
title antiX-M7.5
kernel (hd0,4)/antiX/vmlinuz splash vga=791 fromhd=/dev/sda5 fromiso=/antiX/antiX-M7.5.iso en xres=1024x768 aufs drvr=vesa
initrd (hd0,4)/antiX/initrd.gz
boot
I have a partition sda5 with an antiX folder containing, the antiX.iso, vmlinuz and initrd.gz. here is my menu.lst from a working linux.
###fromiso
title antiX-M7.5
kernel (hd0,4)/antiX/vmlinuz splash vga=791 fromhd=/dev/sda5 fromiso=/antiX/antiX-M7.5.iso en xres=1024x768 aufs drvr=vesa
initrd (hd0,4)/antiX/initrd.gz
boot
-
Posts: 16
- Joined: 12 Oct 2008
#3
Many Thanks!!! I've managed to get it to work.
Now its a matter of setting up my Cisco 350 wireless adapter!! I normally use these cards with Windows CE (and jLime) handheld PCs (like HP Jornada 680, 720, etc). AntiX picks it up and I can configure them through the Wired Network Connection settings program, but it doesn't seem to matter what settings I enter it won't work, is there anything special? My wireless network is currently visible and not encrypted.
Thanks again,
Peter.
Now its a matter of setting up my Cisco 350 wireless adapter!! I normally use these cards with Windows CE (and jLime) handheld PCs (like HP Jornada 680, 720, etc). AntiX picks it up and I can configure them through the Wired Network Connection settings program, but it doesn't seem to matter what settings I enter it won't work, is there anything special? My wireless network is currently visible and not encrypted.
Thanks again,
Peter.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#4
I don't have wireless, but have you tried wicd or Mepis Network Tools?
You might need to try the various options.
You might need to try the various options.
-
Posts: 16
- Joined: 12 Oct 2008
#5
Hi
wicd doesn't seem to work, it locks the CPU at 100% and I have to kill the program. MEPIS Network Tool and Wired Network Connection set up programs also do not seem to work properly either. I have managed to get connected from the command line using wiconfig and dhclient.
Thanks,
Peter.
wicd doesn't seem to work, it locks the CPU at 100% and I have to kill the program. MEPIS Network Tool and Wired Network Connection set up programs also do not seem to work properly either. I have managed to get connected from the command line using wiconfig and dhclient.
Thanks,
Peter.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#6
Well, glad you managed to get connected, but wicd shouldn't lock up.
-
Posts: 1,520
- Joined: 07 Oct 2007
#7
This would have asked some questions about your hardware and then generated an xorg.conf. You then should have been able to log in to x.
Glad you up and running now. This is just an option for next time.
This would have worked if you reset x. CTL-ALT-F1 would have taken you to a text login where you could have logged in as a user then su to root. Once you are root:My first attempt was to run the LiveCD from another computer and install to the laptops hard drive using a FireWire drive caddy, and then edit Grub's menu.lst and AntiX's fstab files to point at the right drive and partition. However this just bails at the point of starting X.
Code: Select all
dpkg-reconfigure xserver-xorg
Glad you up and running now. This is just an option for next time.
-
Posts: 16
- Joined: 12 Oct 2008
#8
Thanks Eriefisher & Anticapitalista. Well you live and learn! I am really happy with AntiX, it works brilliantly on this ancient hardware. I have removed wicd and installed wifi-radar which works perfectly, I suspect the problem is my machine rather than the software. I now have IceWM running, I just need to tweak it to get the most out of the machine and solve my USB problem... Expect more posts! __{{emoticon}}__
Thank you so much for the help,
Peter.
Thank you so much for the help,
Peter.
-
Posts: 253
- Joined: 13 Sep 2007
#9
I may need to try this; at least I want to set it up in case I need it, if an install on the drive using another computer doesn't work. What do you mean by"from the 'live' side of the cd, not the ones in the 'normal' boot"? Do you mean to just copy them from the boot folder on the live cd? Thanks!anticapitalista wrote:To install from a partition on hard drive, you need the antiX.iso and the vmlinuz and initrd.gz files from the 'live' side of the cd, not the ones in the 'normal' boot and an already working grub.
-
Posts: 16
- Joined: 12 Oct 2008
#10
From the 'Live' side means when you're actually running the CD. So boot the CD and take a copy of the files. To be honest if you can use another computer to run the Live CD and can install the drive you wish to install to into that computer it would be far easier.
-
Posts: 253
- Joined: 13 Sep 2007
#11
OK, thanks. That makes more sense to me now.
-
Posts: 1,520
- Joined: 07 Oct 2007
#12
If you have the image already on your hard drive you could just mount it and copy the needed files off the image. The easiest way is to install fuseiso and use it as a user not root.
In your /home create a folder and call it Antix. Now open a terminal where the iso is and as user:
Now open /home/username/Antix and you should see all the files on the iso, copy what you need to outside of the Antix folder and your done.
In your /home create a folder and call it Antix. Now open a terminal where the iso is and as user:
Code: Select all
fuseiso antix.iso /home/username/Antix
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#13
You can also use MC (midnightCommander)
-
Posts: 253
- Joined: 13 Sep 2007
#14
Thank you!
I used mc because I had the aniX iso in my M7 desktop and fuseiso wasn't in the repos, and I didn't want to compile it.
I'll let you know how it goes if I end up doing the hd-iso install; it won't be for a couple of days though.
Edit: Since I was using M7 I could have also used the Wiki method here, although I think the fuseiso and mc methods seem easier:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepis.org/docs/en/index.php/Boot_from_ISO"
linktext was:"http://www.mepis.org/docs/en/index.php/Boot_from_ISO"
====================================
I used mc because I had the aniX iso in my M7 desktop and fuseiso wasn't in the repos, and I didn't want to compile it.
I'll let you know how it goes if I end up doing the hd-iso install; it won't be for a couple of days though.
Edit: Since I was using M7 I could have also used the Wiki method here, although I think the fuseiso and mc methods seem easier:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepis.org/docs/en/index.php/Boot_from_ISO"
linktext was:"http://www.mepis.org/docs/en/index.php/Boot_from_ISO"
====================================
-
Posts: 253
- Joined: 13 Sep 2007
#15
I pulled the hd from the new laptop and installed antiX, but I don't think I want to do that again; the pins were a bit bent and too much handling will break them.
So I set up a partition to boot fromiso for the next install. It boots well, but I have some questions. If I add the lines from the live cd grub to my installed grub, especially the default boot choice, will I be able to try booting with the different install options from the cd? I used vesa for the install because I installed in a different machine, but then I had to deal with a 600x480 display. LOL! What I am really asking is whether all the /boot folder files in my installed antiX are the same as the /boot files on the live cd or are they different? And if they are different, can I just copy them over from the cd and use them instead?
Thanks!
So I set up a partition to boot fromiso for the next install. It boots well, but I have some questions. If I add the lines from the live cd grub to my installed grub, especially the default boot choice, will I be able to try booting with the different install options from the cd? I used vesa for the install because I installed in a different machine, but then I had to deal with a 600x480 display. LOL! What I am really asking is whether all the /boot folder files in my installed antiX are the same as the /boot files on the live cd or are they different? And if they are different, can I just copy them over from the cd and use them instead?
Thanks!