PDA

View Full Version : Help noob unrar



RisenDeMoN
09-02-2004, 11:33 PM
Well I need to unrar a archive on my desktop "MISC.rar". The location its at is "root/Desktop/MISC.rar" , but I'm not sure what to type in the console to unrar it. Please can someone help me?(I've already got the unrar application)

mzilikazi
09-03-2004, 12:27 AM
Try this:

unrar --help

That gives you a quick idea of how to use unrar. Basically it's like this:

unrar /path/to/file.rar

So....

unrar /root/Desktop/MISC.rar

realize that you cannot do much of anything in /root as user (that IS the home directory of the root user afterall!) so you'll need to move the file to somewhere you can write to or become root.

RisenDeMoN
09-03-2004, 12:56 AM
Try this:

unrar --help

That gives you a quick idea of how to use unrar. Basically it's like this:

unrar /path/to/file.rar

So....

unrar /root/Desktop/MISC.rar

realize that you cannot do much of anything in /root as user (that IS the home directory of the root user afterall!) so you'll need to move the file to somewhere you can write to or become root.
Everything "Failed" to unrar. I'm not sure what to do :(, I've lost my windows 98 disk and I've heard that XP doesn't dual boot with linux :(.

mzilikazi
09-03-2004, 02:04 AM
Everything "Failed" to unrar. I'm not sure what to do :(,

Did you try as root?


su
<password>
unrar /path/to/file.rar

BTW I presume you're doing this on a hard disc installation and not from live cd?


I've heard that XP doesn't dual boot with linux :(.

Must've been a windows user that told you that (or maybe even Bill himself). ;) It's just not true! Linux dual boots with pretty much anything. Have a look around the forums, there are many howtos for dual booting w/ xp.

RisenDeMoN
09-03-2004, 02:10 AM
Really? And Its acorse HD installed, though I really don't feel like reinstalling it :( (Just got alot of settings set, and everything is starting to feel "right").

EDIT#1: Again it failed. The rar file is kind of old, I'll download something new and see if that will work.

EDIT#2: I try clicking/opening the file and extracting it that way and I get this error when I try to extract(Drag file/Copy Here):


Error - KDesktop
The file or folder tmp/kde-risendemon/arkuvHNJK//asdf/ asdf.map does not exist.
This happens with the newly downloaded file and the old :(.

j.drake
09-03-2004, 06:04 AM
I've heard that XP doesn't dual boot with linux :(.

Must've been a windows user that told you that (or maybe even Bill himself). ;) It's just not true! Linux dual boots with pretty much anything. Have a look around the forums, there are many howtos for dual booting w/ xp.

I suspect what you heard refers to the Windows bootloader. WinXP has the native ability to dual boot, but only with its older siblings - not linux. Linux relies upon external bootloaders, which are capable of booting anything, including Windows as mzilikazi said. The key is to let XP be the first installed, then install Linux.

Still, be aware that the bootloader setup is probably the weakest link in the dual boot scheme - if something goes wrong in a dual boot situation, it will be the Windows master boot record getting hosed, and you won't be getting in to Windows. The current bunch of installers are pretty reliable, but having been through this before, I stick with a poor man's installation (http://www.knoppix.net/docs/index.php/PoorMansInstall) myself

jd

OErjan
09-03-2004, 10:45 AM
actually i use XP's boot manager to dualboot linux. works ok. some extra work but not impossible.

OErjan Posted: Wed Mar 17, 2004 9:44 pm

you could use the Win2000/NT/XP bootloader.
to do that I let the nt bootloader and lilo work together for me. works well.
quick sketch what i do, write LILO to a floppy, make a "image" of the floppy-mbr put that image in C:\ edit BOOT.INI mine looks like this.


[boot loader]
timeout=2
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
C:\linux.ipl="LINUX"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect

a few more details.

1) make lilo write to floppy, have this line in lilo.conf:

boot=/dev/fd0

or give floppy as an argument to lilo

lilo -b /dev/fd0

2) make a image of the floppy-mbr: and put it in C:\

dd if=/dev/fd0 of=/mnt/C/linux.ipl bs=512 count=1
(this rexuires fat32 on the C disk)
OR you could put it on the floppy later. or a usbstick... and later use Win to copy it to c:\

3) Modifiy c:\boot.ini -- add a line with:


C:\linux.ipl="Linux"
repeat 1) and 2) every time you run LILO.

Microsoft ntldr now believes you have yet another windows installed. happy booting
oh btw, i have several linuxes booting from that same lilo.

j.drake
09-03-2004, 02:48 PM
But that's a different issue. Of course, you can direct LILO to the XP boot screen - that's the default procedure for any dual boot. But what I expect RisenDeMoN was referring to was that XP, by itself, cannot accommodate a dual boot of Linux, without reliance upon an external boot loader like LILO, even though it can natively dual boot XP with prior versions of Windows.

jd

RisenDeMoN
09-03-2004, 08:53 PM
So weve established that I can do a dual boot with XP. Alright, now back on topic. I've logged in as root and user, but still getting nowhere :(.

Markus
09-03-2004, 08:59 PM
Did you try what mzilikazi suggested?
Type file MISC.rar in a shell to see what kind of filetype it is.

RisenDeMoN
09-03-2004, 09:10 PM
Did you try what mzilikazi suggested?
Type file MISC.rar in a shell to see what kind of filetype it is.

RAR archive data, v1d, os: Win32 :( win32, I can't get my pictures/documents!

baldyeti
09-03-2004, 10:34 PM
Usage: unrar [OPTION...] ARCHIVE [FILE...] [DESTINATION]
Extract files from rar archives.

-x, --extract Extract files from archive (default)
-t, --list List files in archive
-f, --force Overwrite files when extracting
--extract-newer Only extract newer files from the archive
--extract-no-paths Don't create directories while extracting
-p, --password Decrypt archive using a password
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version

So "unrar x myarc.rar" will extract, "unrar t myarc.rar" lists content

RisenDeMoN
09-03-2004, 10:42 PM
Usage: unrar [OPTION...] ARCHIVE [FILE...] [DESTINATION]
Extract files from rar archives.

-x, --extract Extract files from archive (default)
-t, --list List files in archive
-f, --force Overwrite files when extracting
--extract-newer Only extract newer files from the archive
--extract-no-paths Don't create directories while extracting
-p, --password Decrypt archive using a password
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version

So "unrar x myarc.rar" will extract, "unrar t myarc.rar" lists content

Now really working, I need a way to unrar win32 files into linux..