Slackware :: Partitions Within Raw Image / How To Access Those?

May 13, 2011

To make a very low level backup of my laptop prior to upgrading it, I decided to create an iso of the harddisk; while it is doing this, but a bit too far to just cancel and start anew, so I cannot test it out right now I decided to post here.

of course, there are partitions on /dev/sda (there's a swap for example)I may (am pretty damn sure I will) want to access the files within the iso, and that's where I wonder how to tackle that; I'm thinking along the lines of setting up a loopback device (losetup) but I don't think that that will be enough to recognize the partitions. Any thoughts? (or just re-create an image of /dev/sda1 ?)

View 4 Replies


ADVERTISEMENT

Programming :: Access To Multi-Partitions Disk Image

Jan 30, 2010

I have a 2GB file which is a dd image of a block device. The block device (a USB-connected flash memory) contains multiple partitions, and therein lies the problem. I want/need to access the various partitions in the image file, but need to do this without actually using a physical flash memory device. If the image was that of a single partition, I could simply mount it on a loop device, and access the filesystem as necessary. However, I can find no kind of virtual block device upon which to write/mount the image.

I've searched the net exhaustively for anything that would seem to allow me to do what I need, but without even a sniff of success. Sadly, I have seen bits of information that suggest "you can't get there from here". Even the outstanding dd tutorial by AwesomeMachine on LQ didn't help. Anyone know of a kind of virtual block device on which a multi-partition image can be written and mounted? Or any other way I can access individual partitions (with various filesystem types on each) and then re-assemble them back to a single image?

View 2 Replies View Related

Slackware :: Is It Safe To Resize Slackware Partitions After Removing Mint 10 Partitions?

Feb 17, 2011

I've reached a point in my Slackware journey where I feel confident enough to remove my Mint 10 linux. It used to be my 'go to distro' when I trashed my Slackware installation. Now, I have Slax on a USB and I think that is enough.Mint 10 occupies /dev/sda5 (root) and /dev/sda6 (home) while Slackware occupies /dev/sda7 (root) and /dev/sda8 (home).If I delete the /dev/sda5 & /dev/sda6 partitions, can I very safely resize /dev/sda7 and /dev/sda8 to use the space freed up?

View 14 Replies View Related

OpenSUSE Install :: Access Partitions From Vista - Can't Open Ext3 Partitions

Jan 9, 2010

I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.

View 3 Replies View Related

Ubuntu :: Mount The Partitions On A Made Image With Dd (/dev/sdb)?

May 15, 2010

my /dev/sdb contains
2 partitions with fat 32
2 partitions with NTFS
1 partition with LINUX ext3
and a swap linux.

I did :

Code:
dd if=/dev/sdb of=image_disk_sdb.img

How can I mount those several partitions?

View 8 Replies View Related

Ubuntu :: Does Windows Image Backup All Partitions?

Jan 17, 2011

It says "This backup could take up 172 GB of hard drive space" and my C: "Used space" is at about 172 GB. So will the Ubuntu partition be backed up?

View 3 Replies View Related

Debian :: Mount The Partitions On A Made Image With Dd (/dev/sdb)?

May 15, 2010

my /dev/sdb contains 2 partitions with fat 32 2 partitions with NTFS 1 partition with LINUX ext3 and a swap linux. I did :

Code:

dd if=/dev/sdb of=image_disk_sdb.img

How can I mount those several partitions

View 1 Replies View Related

General :: Creating Image Of Drive Partitions

Jan 6, 2011

I have what I thought was a simple task of creating ISO images of my Windows 7 system partion and boot partiton (the C drive) on my physical hard drive that I could use to load Windows 7 onto a virtual machine. Anyway, I'm running Ubuntu off the CD drive and I can see my drive partions (checked using the fdisk -l command). I have tried many iterations of the mkisofs command, but no matter what I do I get the error message: unable to open disk image file 'dev/sdb/win7sys.iso'. I don't understand why it's trying to open an ISO file it is supposed to be creating. The -o FILE option sets the output file name, so the message makes no sense to me. Below is an example of a simple and longer version with more options that I have tried to create an image of my sytem partiton (sda1) and save it on an external drive (sdb) with the file name: win7sys.iso (the next step I think would be to create or merge both partition images as one iso file for the VM). But I can't get past this error.

Can anybody tell me what I'm doing wrong?

sudo mkisofs -o dev/sdb/win7sys.iso /dev/sda1

sudo sudo mkisofs -input-charset iso8859-1 -V win7sys -o dev/sdb/win7sys.iso /dev/sda1


* Note that the output after the -o parameter is the desired destination /dev/sdb (my external drive) for the image file and /dev/sda1 is my Windows 7 system or boot partition (sda2 is what Windows sees as the C drive).

View 14 Replies View Related

Ubuntu :: Creating A Disk Image / Archive Of Old Partitions?

Jun 30, 2010

I am installing Linux on some spare space I left over from my previous two Windows installations.

From within Linux, what's the most risk-free way of imaging these two partitions and saving them to a single image file or archive? I want to preserve the entire partition because I have no idea what I may have forgotten to copy. What is the most suitable program that can do this?

Is there any way to run the partition in a virtual machine at a later date?

After this is done, I want to delete those old partitions and extend my Linux ones.

View 3 Replies View Related

Software :: Adding Partitions To An Existing Image File?

Jun 15, 2009

I have 2 image files, image 1 which is 16MB, has multiple partitions, where the boot partition has a 2.4 kernel in it, and image 2, which is 32MB, has a single partition with a 2.6 kernel.

I wish to add those extra partitions from image 1, into image 2, either by adding them within the 32MB(which means cutting back on the size of the existing partition), or adding them to the end of the image(which means extending the image beyond 32MB).

The boot partition for both images is ext2, while the rest of the partitions in image 1 is just raw data.

I'm working with these images in Mandriva Linux 2009.

How can I achieve what I want to do? I think it should be with fdisk and/or mkfs but I'm not sure how? I've tried using gparted to regenerate the partitions from a new image file with the following steps:
dd if=/dev/zero of=image.img bs=32M count=1
gparted image.img

Then I created a 30M boot partition. However, I'm not able to create the rest of the partitions as they are smaller than 1MB, which seems to be the min supported. I need precise control of the start/ending sectors of each partition.

View 1 Replies View Related

Slackware :: Image / Icon Trouble After Slackware-current Upgrade

Jan 22, 2010

I recently upgraded to slackware-current from Slackware 13 via slackroll, and have only encountered one problem. My file manager no longer thumbnails images, and icons (mostly PNG) aren't appearing no matter what GTK theme is set. Running from the command line produces no errors, and when brought up in something else (say feh /path/to/icon.png) it works perfectly. This is the only hitch I have encountered so far. The same thing happens with emoticons in Pidgin. Does anyone know of a fix?

View 5 Replies View Related

Debian :: How To Install Clonezilla And Mount Multi-partitions Cloned Image Disk

May 15, 2010

Simple question, which implies lot of complexity, unfortunately : how to install Clonezilla and mount multi-partitions cloned image disk under DEBIAN ?

Wishing that one day Linux would be so easy and complete as Windows. But we are gaining more users, so Linux will have more apps

View 5 Replies View Related

OpenSUSE :: No Access To Other Partitions

Mar 8, 2011

I am currently testing for the first time openSUSE.I experience some problems right away, the most important problem:I can not get through the explorer (Dolphin) on another partition.When I try, I read underneath:

There was an error while accessing 'Disk 2'. The system notified:

org.freedesktop.Hal.Device.PermissionDeniedByPolycy: org.freedesktop.hal.storage.mount-fixed
auth_admin_keep_always <- (action, result)

I've already started looking at different solutions. But I'm not familiar enough with KDE to just be able to solve this problem. Anyone have any idea what to do to acces other partitions or drives anyway? Another problem is that the GUI is very slow, moving windows and scrolling is not smooth. Anyone have any idea what I can do about this?

I also have a black taskbar since I've moved it to my main screen as it automatically appeared on my small screen. How do I get it brighter again so the clock is readable again?And finally, the Explorer (Dolphin) has a very annoying behavior, I need only to click a folder to open it then as I really only want to select. How can I make a folder only open when I double click on it?

View 3 Replies View Related

Ubuntu :: Can't Access Other Partitions

Dec 31, 2010

I am currently using Xubuntu after i used Ubuntu and Kubuntu. So far, i'm preferring it over both. The only problem is I can't access my other partitions. I have my Windows partition and another partition just for storage and such, and I can't access it. I can't even see them using the default File Manager of Xubuntu. I've downloaded Dolphin to try and somehow work it out, and i do see them now but i still can't access them.

Xubuntu 10.10, if it means anything. Also, I do have Xubuntu on a separate partition alone.

View 1 Replies View Related

Debian :: Cannot Access NTS Partitions

Dec 5, 2010

I can not access NTS partitions .

View 9 Replies View Related

OpenSUSE Hardware :: How To Access Other Partitions

Feb 22, 2010

i just installed 11.2 and it works fine,however im not very familiar w/suse.i would like to access my storage partition,but it doesnt show up anywhere?in other distros it shows up in places. how can i access this ,and have it mounted automatically?

View 4 Replies View Related

General :: Access Old Partitions After Installing Ubuntu?

Jun 10, 2011

This might be a really silly question, but I installed Ubuntu yesterday (which is awesome) but I can't seem to locate any of the other drives that I had hooked up. It's as if the partition with the install is the only one in existence. Is there some trick of the trade I'm not aware of or what's up?

View 1 Replies View Related

Ubuntu :: How To Access EXT4 Partitions From Win7

Feb 12, 2010

How can I access ext4 partitions from windows 7?

View 9 Replies View Related

Ubuntu :: How To Mount Partitions For Data Access

Jul 3, 2010

I figured I could just go in to my Kubuntu desktop and look at the drive. But it has only a lost and found and grub folder with a few files on the root named config-[version]-server (note this is a SCSI). Guessing I'm looking at the boot partition? So how do I mount the other partitions? When I do a fdisk -l I see 3 sdb 1,2,3 (2 and 3 are large, 1 is my boot partition) but when mounting them I get wrong fs type. I was sure its ext3 ( also tried 2 and 4 )? I just left the default 7.04 fs when I installed it. I'm able to put it in my desktop and my server but for the life of me I can figure out how to get at the data.

View 4 Replies View Related

Debian Installation :: How To Access Unmounted Partitions In Jessie

Feb 6, 2016

I have recently installed debian jessie on my laptop , during installation i didn't mount 2 of my partitions , now when i want to access them i have to give the root password every time i click on them , i searched the google , i found that i have to add a line in fstab file : so i i checked the partition that i wanted to mount (by typing fdisk -l) , and i added this line to the end of the fstab file :

Code: Select all/dev/sda3 /mnt/2 ext4  users,noatime,auto,rw,nodev,exec,nosuid 0 0

(i had created /mnt/2 before ) ..... and this is the output of fdisk -l :

Code: Select allDisk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x4a373773

[Code] .....

After adding the line at the end of my fstab file , something strange happened , i rebooted the computer and mate didn't come up , it was a console like screen , i had to access fstab from there to delete the line and enter mate . i did this for 2 times and both times the same thing happened . How can I mount my partition permanently ?

View 11 Replies View Related

Fedora Security :: Root Access For Winows Partitions?

Oct 6, 2009

I'm currently running a dual boot (VistaFedora 11) system. I've noticed that the first time I access files on the Windows partition (via Nautilus GUI) I'm prompted for root access. However, on subsequent attempts to access the Windows partition I am NOT prompted for root access (even after I close/re-open Nautilus). My concern is that I'm leaving my root access "open".

View 4 Replies View Related

OpenSUSE :: Normal User Rw Access To Ext4 Partitions?

Nov 13, 2010

I need to access sdc2 & sdc4 from SUSE, have shared the partitions already but i am unable to write data there. I checked permissions, it says only owner can change the permission. I need to get rw access for a normal user. Have chmod it already but it didnt work.

View 9 Replies View Related

Ubuntu :: Hiding Windows (NTFS) Partitions But Still Have Access

Feb 3, 2010

I still have to dual boot with Windows (for now!) but having the various NTFS partitions show up in Nautilaus, etc. is a problem.Also I would like to share some data between Win7 and Ubuntu 9.10 but I cannot create any more partitions due to well know limitations. In my case I already have 3 primary Windows partitions that I want to keep and 1 primary Linux with ext4 and swap as logicals for Ubuntu. BTW my laptop had all 4 primaries used up an I got rid 1 for Ubuntu. I could get rid of more but really do not want to now.

I found many great ideas and suggestions here in the forums but could not find exactly what I was looking for so I cobbled together a couple of I ideas and I think I have a working solution.First to hide a Windows partition and protect it this works great when you add this line to fstab:

Quote:

/dev/sda2 /Windows/sda2 ntfs-3g defaults,umask=777 0 0

Of course change your partition to the correct one and make sure the /Windows directories are created.I have used this many times and it works great except I want to have access to 1 or 2 directories without exposing the whole drive.I turned to symbolic links to help solve but when sda2 is "hidden" with the above there is a rights problem for my normal user. I could probably solve it with umask somehow but I just did this instead:

Quote:

/dev/sda2 /Windows/sda2 ntfs-3g defaults,locale=en_US.utf8 0 0

I found this allows me to access the directory but it is still hidden from Nautilaus. I am guessing it is because it is mounted in a location it does not normally look in.After this I created a symbolic link to the directories I want access like this:

Quote:

ln -s /Windows/sda2/Temp /home/myuser/windir

Note I did not use sudo here because that was causing me rights problems at one time. This is permanent until you rm the windir file since symbolic links are just special files.

So now I can access windir in my home directory on the NTFS partition without me accidentally messing up my other Windows system files. If I try hard I can mess it up but this provides just enough protection for me. I can also drag the link to my desktop or the Naultilaus left nav pane and it acts like a regular directory.I sure there are a 100 ways to achieve what I wanted to do but thought I would share this method since it took me a while to figure it out.

View 1 Replies View Related

Ubuntu :: Account Permissions - How To Access NTFS Partitions

Jun 22, 2011

On my system have to partitions instead of ext4 and swap, that is ntfs partitions and have two account one is sysadmin and my name csmct. Sysadmin have admin power and csmct is a user account. If I login ed as user csmct. I cant able access those ntfs files. Ubuntu asking me for the sysadmin password authentication. How can I access those ntfs partitions with rakesh password. For frequent access I changed both passwords to same <snip>

View 7 Replies View Related

General :: Slackware 10 Will Not Let Me Create Partitions

Oct 27, 2010

OK, trying to install Slackware version 10 on the Athlon XP Shuttle PC and been hit back hard at the very first hurdle.In short I can't create a partition in Linux.At all!CD boots up OK. Loading in basic kernal.I try and create a partition using either fdisk or cfdisk.BOTH apps reports that the partition table cannot be written to! Both apps run read only mode.So I am unable to create any partitions in Linux.

I booted up a Windows 98 floppy and checked the partition table.Two x30GB partitions.I deleted both of them in case Linux did not like a Fat32 DOS/XP partition table.Tried again. Same read only messages.Attempt to use 'w' in fdisk reports the partition table cannot be written to.Viewing the partion table returns nothing, no matter how I set it up in DOS/Windows.

Only clue is that to my surprise, the DVD RW drive is the Primary master and the 60GB HD is the secondary master. I must have slipped up installing the drives years ago and Windows didn't care. Would Linux? Other than that, nothing in the BIOS that gives a clue. I turned off ACPI support in case. I also tried the ACPI kernal. No joy there either. But DOS/Windows quite happy to build partitions.Cfdisk states that no partition tables exist even after Windows has just created one.So I am at a loss.Any clues? This is a Shuttle PC so the tech is a bit propritory but nothing that various renderings of Windows have not handled.

View 6 Replies View Related

Slackware :: Cannot See All Partitions On 13.0 Netbook Install

Jun 12, 2010

I have a new acer aspire one netbook I intend to dual boot. It came with xp installed on sda1. When repartitioning with gparted off a usb stick I noted two existing partitions, one small one for acer stuff and the second for xp.

I shrank the xp partion and created two new linux primary partitions. This gives me sda's 1-4 in gparted but once booted off a usb stick into the slackware install only sda and sda1 are created in /dev.

View 12 Replies View Related

Slackware :: Stop Automounting All Other Partitions

Nov 4, 2010

When I log into gnome all my other partitions are automatically mounted under /media, but when I log into kde, they are not. I would rather that they not be automatically mounted. How do I change this?

View 5 Replies View Related

Slackware :: How To Dual Boot 2 Partitions

Apr 22, 2011

Slackware 13.0 32-bit is installed on /dev/sda5 with lilo written to that partition. Everything works and I have a nice lilo boot menu (for a WinXP bootable partion). Recently I installed Slack 13.0 64-bit on /dev/sdb5. This also succeeded (apparently). After reboot I was presented with my old boot menu, selected the 32-bit Linux option (/dev/sda5) and after login went to /etc/lilo.conf where I entered a boot stanza for /dev/sdb5 (64-bit linux), and then ran /sbin/lilo. No errors flagged. After reboot there was a 64-bit entry in the boot menu, but when selected it led to kernel panic. Further although I can mount /dev/sdb5 from the 32-bit partition there is nothing in it except lost+found.

So the current position is that I can't access my 64-bit linux partition (/dev/sdb5) to change anything in it (even boot: root=/dev/sdb5 at the boot prompt doesn't seem to work).how do I obtain access to /dev/sdb5? Second question is what items do I need in the 32-bit lilo.conf boot stanza so as to be able to boot to that 64 linux partition?

PS: OK I noticed one warning when I ran lilo.....

bash-3.1# lilo
Warning: LBA32 addressing assumed
Added Slack *
Added Slack64

[code]....

Maybe the problem is with the 32-bit addressing? How do I get lilo to use LBA32 for the 32-bit partition (/dev/sda5) and LBA64 addressing for the 64-bit partition (/dev/sdb5)?

View 5 Replies View Related

Slackware :: Ipod Shuffle Without Partitions?

Jan 4, 2010

I'm running slackware 13 and so far all my usb-devices were recognized correctly. Her ipod is running fine under windows with itunes but i'm not able to mount it on my slackware cause i don't see any partitions. Afaik, ipods have three partitions (1st firmware, 2nd music and itunes-db, 3rd ... ?). why i don't see any partitions? Here is my dmesg output when plugging in the ipod:

Code:
usb 3-1: new high speed USB device using ehci_hcd and address 2
usb 3-1: New USB device found, idVendor=05ac, idProduct=1301
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: iPod

[Code].....

View 4 Replies View Related

Networking :: Access Host Image By Name?

May 20, 2011

I installed a host image in virtualbox. The virtualbox is running on ubuntu and the virtual image is also ubuntu. The ip address of the image is:

Code:
xubuntu@ubuntu-linux1:~/$ ifconfig -a
eth1 Link encap:Ethernet HWaddr 08:00:27:b2:5a:9c
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feb2:5a9c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0

[Code]...

the host image has an apache server running, and I want to access the server from the local machine. I can access the server with the IP address, but not with the name.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved