Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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 to help from here, Ubuntu Forums and the Ubuntu IRC channel, I've now got to a point where I can - in theory - install Slax from a separate partition on my laptop.
the LiveCD has been extracted to this second partition, which used to be the Swap space - thus reducing my laptop's memory to just under half a gigabyte. I suspect this might be useful to know.
Working of Ubuntu's guide for turning their LiveCD into a bootable partition, I tried to replicate this for Slax, and... it failed.
At the moment, what I'm after is what entries do I need to make in grub's menu.lst to make the extracted Slax LiveCD properly bootable, so I can install to the soon to be ex-ubuntu partition?
More problems possibly to follow depending on what happens. Hopefully, it'll go right once this one's been figured out.
Intrigued to know how you got the Slax LiveCD (~700 MB?) into a 512 MB partition and not knowing whether the Slax LiveCD can be used for installing a usable OS (I thought it was just a live demo) ...
Specifics of the menu.lst entries depend on what files are in the ex-swap partition to boot the OS that will be used to do the installation. A file list of the root of that partition would help.
Meanwhile, here is mine for booting Slackware 13.0 installation
The root (hd0,2) means the first HDD and the 3rd partition (GRUB counts from 0) so you probably want root (hd0,1).
The kernel path and parameters is where it gets tricky because of differences between our systems. You almost certainly don't want /boot, just /<filename of kernel> and the rest of the parameters will be specific to Slax as opposed to Slackware. vga=791 is nice (more text visible on screen) but not necessary and maybe not supported by the Slax kernel so maybe best to leave it off to start with.
Like the kernel line, the initrd line is system-specific. Maybe Slax doesn't even use an initrd. If it does you probably want something like /<filename of initrd>
I used Build Slax on the Slax website, using only the core modules and some required network modules, which left the LCD size down at approx 240MB.
AS to the rest... the first two lines are the same, except for it being (hd0,1) - sda, partition 2
There is a /boot directory among the LCD's files that I extracted to the other partition. There doesn't seem to be any hugesmp.s file, and there isn't an initrd.img, but there IS an initrd.gz.
As my laptop's remaining Ubuntu is being a pest as usual, I'll have to list what is in /boot here:
If you need other parts of the LCD, I can get them as needed. I'll try and get Ubuntu to take a screenshot, but Openbox doesn't seem to want to let it.
I guess you are "boldly going" (Trek-speak) so the chances of anybody who has already gone this route happening by this thread is slim; you are into the experimental approach to systems administration!
If Slax, being based on Slackware, does work something like Slackware, my "slightly-boldly-going" experience may provide some clues.
Presumably what you list as vmlinux is /vmlinux so that is likely the kernel. Assuming Slax does use an initrd you still need to find it. /boot/initrd.gz looks hopeful. Maybe /vmlinux can decompress it. You could try
Code:
title Install Slax
root (hd0,1)
kernel /vmlinuz
initrd /boot/initrd.gz
If that doesn't work you could try unpacking (decompressing) initrd.gz and reference whatever you get out of it on the initrd line instead.
If that doesn't work you could ask what kernel parameters are necessary to boot Slax vmlinuz (maybe experiment with the ones from my earlier post first).
If that doesn't work you could try the kernel and initrd from Slackware 13's USB and PXE installers. Here are my notes in case they're any use.
Ah, that's my mistake. That should have read /boot/vmlinuz, and it's definately a vmlinuZ not vmlinuX.
I'll have a try in case, since it's on a separate partition, all it can do is either fail, or work, so it's not likely to permanently kill the laptop or anything.
Alright, I gave it a go, and actually got it to boot.
However... It's a good thing I didn't actually install it, because I'm not sure it's the right one for me. But, on the up-side, I now have a partition to load almost any distro's liveCD into to try it out.
Next on the list is Slackware itself.
Alright, I gave it a go, and actually got it to boot.
However... It's a good thing I didn't actually install it, because I'm not sure it's the right one for me. But, on the up-side, I now have a partition to load almost any distro's liveCD into to try it out.
Next on the list is Slackware itself.
Good news that it worked (and useful you found you didn't want it, I guess).
Problem you will have is that the partition is too small to install Slackware from so you may need to try installing a bootable file system management utility in the partition so you can shrink the Karmic partition ...
I realised that when I saw that Slackware has 6 installation CD's and I have no idea which one I want.
At the moment I'm trying Fedora, if that works and I want to use it, then all well and good, if not, then I'll come back and have another look at Slackware to try and understand which images I need, and then work from there.
StarLion; you can either make a specific partition that "emulates" a USB stick (fat32 w/ syslinux installed)
Or just use a ext3 partition: though distros like KNOPPIX-6.2 won't boot for me from a ext2/ext3 partition
in frugal mode
Note that you can boot the syslinux partition with Plop bootmanager
I havent yet found a way to boot from a grub menu and go to a syslinux menu?
So, I use plop
Heres my fat32 syslinux partition, 5GB in size:
Code:
Disk /dev/sdb: 80 GB, 80023749120 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 9067 72830646 83 Linux
/dev/sdb2 9068 9729 5309482 b FAT32
its my #2 hdd, sdb1 is storage of isos,etc
I have, right now, these distros booting persistent on that partition
NetbootCD-3.1.2
DSL-4.4.10
Phalanx-9.04
Slax-6.1.2
PartedMagic-4.6
KNOPPIX-6.2
Tinycore-2.5
Puppy-4.31
I have space to add more
and lets say I wanna try out Fedora 12
I can either just extract the iso to my "usb" partition
or to a ext2/ext3 partition and boot in LiveCD mode and see if I like it
Essentially, yes. I've got the LiveCD for Fedora on download, not long left on it. What I'd like to be able to do, by my own description of it, is to use the spare partition in place of the LiveCD, that is, the contents of it are on the partition instead of the CD.
Fedora appears to have a guide for this, which I'm following (Chapter 9 of their Installation Guide is what I'm using)
I think it's the one I want. I'm not sure.
Thanks, I'll keep that in mind if what I think I've done fails
What I think I've done though, and feel free to correct me if I've got it wrong, is following the Fedora Documentation, as mentioned in my previous post, I took vmlinuz and initrd.img from a mirror site, placed them in /dev/sda2/boot (actually, /dev/sda2 mounted as /tmp/alt) and renamed them to vmlinuz-install and initrd.img-install
Then added the Grub lines in Chapter 9.2, booted from that, and gave it the install.img from a server, which it's currently retrieving - and if I understand it correctly, when it's finished retrieving install.img, I'll be able to install Fedora 12 as if I'd logged into a LiveCD session, and told it to install, or something along those lines.
I hope that makes some sense. I wasn't expecting it to get as far as downloading install.img
That's alright, so long as it means I can install Fedora, then that's what I'm after.
Now the long wait for it to finish retrieving install.img happens...
While I wait - this isn't exactly a necessary thing or anything, but I'm curious, what sort of questions is the installer likely to ask when it's finished? Maybe there's someplace that shows it in screenshots? I'd just like to get an idea of what to expect, so I'm not jumping entirely into the unknown - at least to me, anyway.
Install Qemu Launcher, make a virtual hard disk, install Fed 12 to the vhd and thats the safest route
I can tell you how to do all that
get qemu launcher from synaptic
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.