Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-23-2006, 01:20 PM
|
#61
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Your commands for the QEMU monitor look OK to me. You do not need to (u)mount any physical CDROM outside of QEMU (i.e. on the host) because the Slackware installer running inside QEMU will mount and umount the CD's.
I never tried installing Slackware in QEMU with two physical CDROM's AFAIR, but it should be entirely possible. You will have to wait until Slackware asks you to remove CD1 and replace it before you try and run the eject/change commands in QEMU's monitor though.
Steps:
- Slackware asks for the second CD
- go to qemu monitor
- run "eject -f cdrom"
- change the physical CD media in the computer's drive
- in the qemu monitor run "change cdrom /dev/hdd"
- continue with the Slackware install, Slackware will "find" the second CDROM now.
Eric
|
|
|
|
07-23-2006, 01:38 PM
|
#62
|
|
Member
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 474
Rep:
|
Quote:
|
Old Fogie: I'm not sure ... if I'm doing this wrong for QEMU.
|
You need to hit CTRL+ALT+2 in your qemu session. That will bring up the qemu console, then you can eject & change cd-roms. Edit: OK, Eric beat me to it!
Regards,
Bill
|
|
|
|
07-24-2006, 12:40 AM
|
#63
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
Ok ty, I'm trying it now.
I hope I don't have a bad dvd rom drive, I swapped out a new ribbon/cable we'll see. I wound up getting error's today in windows too, as I'm dual boot, and got an error today on that too just trying to read data off a cd/rw.
However, I have a slightly smaller issue now, LOL as I always do right. Anyway, I have on that same ribbon/cable as my dvd rom drive a hard drive. It had my qemu image for my slackware image I made before. Before I changed cables, I moved all my data over to a fat32 partition, as it had room. After I changed the cable, I moved the qemu image back to the big hard drive that is on the same ribbon as the DVD and that is linux ext3. Now I cant use that slackware qemu image. I checked the ownership of it, and I'm allowed full on it. However, even the icon is different for it now. Before, it had an icon that looked like a "kwrite" icon in my KDE konqueror's file manager. And it used to be shown as file type "text document" and now it shows up as "unknown". Is there some kind of file information parameters that got lost on this file when I moved it onto a fat32 drive and then back? Is there anyway I can key them in and change it?
Moving it from one linux partition to another before seemed ok. But something went awry here.
If not no big deal, as I am re-loading and making a new image now anyway, but this might be good to know for future use, etc.
|
|
|
|
07-24-2006, 10:38 PM
|
#64
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
just an update:
eric your scripts worked flawlessly for new versions of the kqemu
i had to remake my iso of my slackware cd's, i used paranoia 3 on k3b to make my iso
maybe i had bad iso file, or a flaw on my cd. they're riddled with coffee stains and scratches.
so I did get an install off of cd's finally
the new kqemu does seem faster to me
I havent figured out how to mount an ext3 yet as read write for a /dev/hdb but i have some reading to do
I put in the testing kernel of slackware and I get networking now in the slackware guest so that
helps my issue of moving packages around once I make them for the time being.
I wonder if you could : ddcopy your current running slackware partition into a qemu.img file, then
mount it as a file system as eric points out on the wiki..then run qemu and do stuff to your guest
slackware OS that is identical to your current running slakcware to test new packages, kernels and the like.
maybe overkill, but I think i might try and play with it and see.
|
|
|
|
07-25-2006, 03:26 AM
|
#65
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
|
Originally Posted by Old_Fogie
I wonder if you could : ddcopy your current running slackware partition into a qemu.img file, then
mount it as a file system as eric points out on the wiki..then run qemu and do stuff to your guest
slackware OS that is identical to your current running slakcware to test new packages, kernels and the like.
maybe overkill, but I think i might try and play with it and see.
|
The QEMU image file resembles a full hard disk, i.e. including a MBR and a partition scheme. It would be impossible I think to copy your current Slackware partition into a QEMU image using 'dd'.
However, what about loop-mounting an existing QEMU image file (after you used QEMU and the Slackware install CD to partition it) as I describe in this Wiki section and then "cp -a" everything from your Slackware host partition into the mounted QEMU imagefile's partition?
NOTE: you must not be running QEMU when you mount that imagefile on the host!
Eric
|
|
|
|
07-25-2006, 11:54 AM
|
#66
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
thanks eric, I wasn't sure how to "skin the cat" as they say.
I'm going to give that a shot.
I'm really liking this QEMU by the way, this is truly an incredible piece of software.
|
|
|
|
07-25-2006, 11:58 AM
|
#67
|
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Wow..
Dr. Who would love this: Recursive reality. Running an installed Slackware inside a running Slackware install....Where does the madness end????
lol. Love it. Gonna try myself.
|
|
|
|
07-25-2006, 12:18 PM
|
#68
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
it's incredible, the only thing that is a little akward but I'm sure will be enhanced after time:
-mounting iso's as cdrom's sometimes, need to be done twice. tho maybe it's my pc.
-i'm using a ps/2 mouse at the moment, and sometimes the cursor is a little, and I mean milliseconds, delayed on screen.
-the qcow rocks.
the goals that eric listed of this app on his wiki are truly achieved.
the program has not crashed once on my pc.
compiling a kernel only took about 5 minutes more, but allowed me to stay in my running slack and not reboot, so the time
is definitely worth it.
I don't know this is a really good program, how cool would that be to see this ship with a distro like slakware.
|
|
|
|
07-25-2006, 12:20 PM
|
#69
|
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
As I said, make your own live cd or dvd. As much stuff as you want, a dvd maybe the way to go.
|
|
|
|
07-25-2006, 01:24 PM
|
#70
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
|
Originally Posted by Old_Fogie
I don't know this is a really good program, how cool would that be to see this ship with a distro like slakware.
|
In the meantime you can just keep grabbing my packages :-)
Cheers, Eric
|
|
|
|
07-25-2006, 03:04 PM
|
#71
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
qcow just owns!!
it's fixed me everytime yast breaks something ROFL.
SuSe should give up on zen and build in qcow as they refuse to fix yast LOL...just kidding 
|
|
|
|
07-27-2006, 05:49 PM
|
#72
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
Quote:
|
Originally Posted by Alien Bob
In the meantime you can just keep grabbing my packages :-)
Cheers, Eric
|
I'm going to be a broken record here, this qemu is incredible!!!!!!!!!!!!!!!!!
Your packages/scripts, this qemu...incredible.
Why this is not on the nightly news ?
lol, let me stop while I'm ahead, and not let my conspiracy theories run wild.
thanks again.
|
|
|
|
07-27-2006, 07:42 PM
|
#73
|
|
Member
Registered: Mar 2006
Distribution: Slackware64 current
Posts: 228
Rep:
|
I couldn't possibly agree more. For me, QEMU has been the missing link for learning how to build packages. I'm still doing really basic things, but now I can work thru SlackBuild scripts without worrying about messing up my system. And I can restore to a clean install in seconds.
Dude, we sound like a commercial. "It's both a floor wax AND a dessert topping!"
|
|
|
|
07-27-2006, 08:55 PM
|
#74
|
|
Member
Registered: May 2003
Location: Earth
Distribution: Slackware
Posts: 76
Rep:
|
Thanks Alien Bob for your most excellent tutorial. I was able to sucessfully install Win2k on my MEPIS laptop and I am attempting WinXP on my Slack Desktop. Have any of you tried Vista Beta 2 using this method?
|
|
|
|
07-27-2006, 11:00 PM
|
#75
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
believe it or not, I read an article today on zdnet i believe it was, that said vista for virtual pc's will need it's own special license.
that is if you load it on a pc, then you can't dual boot into linux let's say and run it virutally there too. and it has to be pro version or whatever it is they call it.
hey Eric, btw, 2 packages that you do not have and linuxpackages do not have that I find really fast to package for slackware 10.2 is 'ktorrent' and 'komparator' just an fyi i really like them. they fit really well into the kde theme.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:34 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|