General :: Share Partition Type Code With Windows?

Feb 28, 2011

Anyone know why Linux has to share a partition type code (specifically, 0700) with Windows? Why can't it have its own like some other OSes?

View 4 Replies


ADVERTISEMENT

Programming :: Finding A Partition Type Reader Script / Code?

Aug 6, 2010

I was wondering if there is anyone who has some kind of a small script/code (preferably in C/C++) which reads a partition and just displays the type. For example, the script/code would be called partype and should be something like this: partype /dev/sda1, will read sda1 and display for example ext4, because sda1 was formated as ext4.

Note: I'm not a developer so I have no idea how this should be done, plus I would like the script/code to do it by itself the checking, without using fdisk/sfdisk/cfdisk/parted/gparted, because none of this apps work quite well when it comes to the partition type or file system type.

View 13 Replies View Related

General :: Cant Read Filesystem Type On Windows Partition?

May 27, 2011

I had installed ubuntu 11.04 on my system along with windows vista. After a few days, i decided to remove ubuntu so i just logged into windows and formatted the ubuntu partition using the windows partitioner, then extended my main c: drive to span the whole disk so that i was left with a single partition with only windows vista on it.Later when trying to restart my system couldn't log back into windows.I kept getting a prompt sayinggrub rescue>After googling around a bit i shrinked and created another partition the disk again and installed ubuntu on it again.still. =/GRUB doesn't show any windows entry.I noticed something strange though that when i tried viewing my partitions using parted i didnt see any filesystem type listed besides my windows partition (/dev/sda3). I doubt that is why GRUB does not show any windows entry.Also i manually tried to boot into windows from the grub prompt using commands...root(hd0,3)chainloader +1bootbut it says 'invalid signature'Did i somehow corrupted my windows partition during resizing and installing/un-installing? Plus i also booted with the windows installation dvd and when i typed bootmgr /fixbootit said something like no valid filesystem found.

View 5 Replies View Related

General :: What Do I Need To Share Partition For Windows

Aug 16, 2011

I wand to use a partition and to be accessible for Windows 7 & Linux Ubuntu for read/write operations. Can anyone recommend me something?

View 2 Replies View Related

General :: Error Code Oxd0000017 - Restore Windows Partition Without Installation Disc?

May 14, 2010

I know i get the error code because i dont have my windows partition. But i seriously need my vista back. I tried using VMware player but it didn't work. Is there anyway i can restore my windows partition without the installation disc? The restore disc does not work as it needs a windows partition.

View 7 Replies View Related

Ubuntu :: Share A Home Partition Between Lucid Windows 7

Jul 8, 2010

I was going to freshly format my laptop with Windows 7 x86_64 and Lucid Lynx x86_x64... I have a HUGE amount of media (music, videos, pictures, documents) and I don't keep all of it on my external harddrive.

The plan is to have the basic 2 partitions for Windows 7 and Ubuntu but I would like to have a 3rd partition that is just for media that I could share between the two OSes. I guess I would create symbolic links in the Ubuntu Home folder to point to the partition with media and in Windows I could probably just add those folders to libraries (unless someone knows how to move the User folder to another parition?)

What should I format this new partition as? NTFS? It needs to support files larger than 4GB and Windows can't read/write to basically anything.

View 5 Replies View Related

General :: Windows - Deleting Linux Partition And Grub Boot Loader Without Affecting The Windows Partition At All?

Aug 30, 2011

I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.

View 2 Replies View Related

General :: Cannot Determine Filesystem Type Of Partition?

Feb 27, 2011

As per these instructions, I got up to the end of the "Acquiring an Ubuntu filesystem" step (where it asks you to mount the newly created Ubuntu partition) and ran into a problem: The partition won't mount, as the file system type cannot be determined because I cannot remember the file system used during installation. Is there any command that prints the file system type of GPT partitions?

View 5 Replies View Related

General :: Partition Type / Size Quirks After DD Clone

Apr 26, 2010

I decided to clone my OS partition to another hard drive using dd (without any special options). I created the target partition before cloning (25GB) but it shows up as 21GB (source/original partition's size) in df, as well as ext2 instead of ext4.

View 2 Replies View Related

Programming :: Converting C Code To C++ Causes An Type Error?

Mar 25, 2010

I'm a C / assembler programmer so am not use to C++, which I need to use. Basically I'm using my own versions of memcpy, but for long and int rather than char. It's for fast graphics. So I have a char array which I copy to another array. But I copy as either longs or ints, much faster. for example

Code:
void * fastmemcpysprite (void *destaddr, void const *srcaddr, size_t len)
{

[code]...

View 3 Replies View Related

Ubuntu :: Can't Type Any Code In Eclipse After Tips Popup?

Jun 19, 2010

I am using ubuntu remix 10.04 on Dell mini 12 notebook. Everything is perfect expect coding in Eclipse. If any code tips window pops up, then I can't type in any letter until I click right mouse button or [Alt + Tab] to other window and switch back

View 2 Replies View Related

Programming :: C/c++ Code Is Used To Parse Type - Length - Value Messages?

Feb 12, 2011

Does anyoe have any example c/c++ code that is used to parse type-length-value messages.

The only decent article I can find on the web is:
http://en.wikipedia.org/wiki/Type-length-value

Bur it does not give any examples of parsing etc..

View 1 Replies View Related

General :: Corrupted Partition Table / Error Mounting: Wrong Fs Type, Bad Option, Bad Superblock?

Oct 23, 2010

i used to have ubuntu 9.i decided to move to sabayon so i used the live cd to install it ,resize the ubuntu partition and use the remaining space for sabayon.while the resizing procedure i got an error(i dont have a copy of the error log file but i know it has something to do with an anaconda process).i aborted the installation and the result was an filesystem that couldnt be mounted.when i try to mount the hdd i get this:

Code: Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so and this is what i get from fsck: Code: $ sudo fsck -f /dev/sdb1
code....

View 5 Replies View Related

Server :: Mysqldump Export Type Update / Command Line Or By A Simple PHP Code?

Jan 2, 2011

I noticed in phpmyadmin that we can export a database in type update. Indeed we have update... in place of insert.... is there anyone know if it possible by a command line or by a simple PHP code ?

View 1 Replies View Related

Programming :: How To Share Code With Others

Jan 5, 2010

I work as a linux sysadmin, and are now and then developing scripts that might be of use for others. I'd like to be able to share these, and for less trivial projects maybe create a central repository or something that others may upload updates/patches to etc.

View 10 Replies View Related

General :: Run The Source Code Of Virtual Box In Windows?

Dec 2, 2010

Website through were I can learn Python,SQL & How can I run the Source code of Virtual Box in Linux & windows

View 2 Replies View Related

General :: Ubuntu 64 And Backtrack Won't Share A Swap Partition / Fix It?

Nov 4, 2010

I'm triple booting Windows 7 32-bit (that's the only version I had), Ubuntu 10.10 64-bit, and Backtrack 4 R1.

Windows 7 installed and runs fine. Ubuntu installed and runs fine. I try to install Backtrack 4 R1, create a / partition, create a /boot partition (do I need to create a /boot for Backtrack?), and I don't create a swap file because the Ubuntu swap file is already in there.

I click "forward", the install starts up, then I get "The attempt to mount a file system with type swap...yadda yadda yadda...has failed." I google this, I get some results talking about an mkswap command, but in my noobness, I don't understand.

Can Ubuntu 64 bit and Backtrack not share a swap file? I don't want to create 2 swap files because I've googled around and that looks like a bad thing to do.

View 4 Replies View Related

General :: Windows 7 - Create A Symbolic Link From An Ext Partition To A FAT32 Partition

May 15, 2011

On my Linux system, I want to create a symbolic link to a folder on my Windows 7 partition formatted FAT32. I use:

sudo ln -s /media/OS/Users/dennis/AppData/Roaming/.minecraft ~/.minecraft

However, I end up with a file in my home directory called .minecraft and when I try to access it, I receive:

bash: CD: .minecraft: Too many levels of symbolic links

is there a way to make the symbolic link to the FAT32 folder?

View 2 Replies View Related

Ubuntu Installation :: Partition Multiple Distros To Share One Home Partition

May 11, 2011

I was wondering what the best way is to partition multiple distros to share one home partition.

View 8 Replies View Related

General :: Windows - Code/software Access Locations In Memory That It's Not Supposed To?

Apr 11, 2011

By default, when applications run, they are limited in the amount of RAM they are allowed to access right? Technically my VLC could not access memory addresses used by Chrome. But how is it possible for the operating system/compiler to mistakingly allow access to an address a code is not allowed. I know alot of 'exploits' and 'payloads' take advantage of this fact and create variables that take up too much space and 'overflow' into other addresses, but how does this actually happen?

Are some programs more prone to this than others? Does it matter in which language they are coded in? For example, I know C is allowed to play around with memory, while Java is not. Also, what are the advantages of this? What if someone wrote malicious code to access someplace in memory, what could they do? The only thing I can think of is passwords/keys stored in RAM.

PS I thought about putting this in Stack Overflow, but my question is much broader than just specifically related to a programming perspective. If I've placed it in the wrong place, I'm sorry.

View 2 Replies View Related

General :: Connect To A Windows Share

Feb 21, 2011

I want to connect my linux distro to a windows file share on a networked computer.

View 1 Replies View Related

General :: Permissions On A Windows Share

Mar 31, 2011

It seems that by default a Windows share mounted at /mnt/Windows/ will be owned by root and have 755 permissions set on all files. I usually do a chown or chmod to allow my user to have write access to these files. Does that affect the Windows files in any way? It takes quite some time to complete the chown/chmod when there's a lot of data. Where is the Linux permission data kept for the Windows share? On the Linux computer where I set the permissions? I just want to get a better understanding how this works.

View 5 Replies View Related

General :: Rsync A Share On A Windows Box

Feb 11, 2010

I've figured out about half of the problem this time. I've duplicated the directory structure of the Windows machine on the Linux server.

I then proceed with mounting the Windows share on the Linux server. I type the mount command while I'm in Folder1 on the Linux server:

Code:

So far so good. Now I need to rsync and the command for this is

Code:

But what do I fill in here? I'm guessing path/to/dst is just plain Folder1 on the Linux box. Path/to/src refers to the share on the Windows machine but since I've mounted that share, is path to source = path to destination?

View 4 Replies View Related

General :: Getting Content-type/Mime Type Of The File Using Shellscript

May 24, 2011

I am copying the file form one directory to another directory using shellscript.

Here i want to get the Mimetype/Content-type of the file.

How to i can get the MimeType.

View 9 Replies View Related

General :: Allowed Filesystem-type For /boot Partition: Journaled Or Non-journaled?

May 24, 2011

Until now I always used a non-journaled filesystem for my /boot-partitions.But as it would make system restoring much easier after crashes I would prefer to use ext3 for my /boot-partition as well.Is this possible, and before all, recommendable?

View 7 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 Replies View Related

Ubuntu :: Finding Windows Partition - Use FAT32 Partition For Photo Images And Old Windows Files

May 31, 2011

I got tired of dual booting on my old computer so on the new computer I am planning to run XP on VMware Player. The problem is that on the new computer neither Ubuntu or XP can "see" the FAT32 partition. I intend to use the FAT32 partition for photo images and old Windows files and need access from both Ubintu and XP.

Partition table entries are not in disk order.

View 5 Replies View Related

General :: Windows 7 - Can Two Users Simultaneously Share One Pc

Feb 9, 2010

It's easy to have multiple user accounts on one computer and even switch between accounts without logging off. It is also possible to have more than one display connected to a single computer. Is it possible to have one multi-core computer be used simultaneously by two users in their own accounts? Is there specific hardware required (to allow keyboard and mouse distinction for each user) and software configuration?

I know you can setup remote connections on windows that allow you to open and use a second user account without bothering the first user, but how about working locally on the same machine, essentially removing the network delay of remote desktops? What OS supports this? Linux Ubuntu? Windows 7?

View 4 Replies View Related

General :: Windows - Share Folders Over Network Across OSs?

Dec 21, 2010

I have a desktop with ubuntu 10.04 with my whole music collection in it. I want to access it using my laptop and my brother's laptop, both running windows (vista and 7 respectively). All are connected to the same network.

View 1 Replies View Related

General :: Can't Connect To Samba Share From Windows

Mar 9, 2011

I am setting up samba on my CentOS server for the first time. I am using webmin to configure samba. Here is the smb.conf

Code:

[global]
netbios name = KISKA
cups options = raw
load printers = yes
server string =

[code]...

I can see the domain name "KISKA" in the "network" tab of windows explorer, however when I click on it I get this error: Windows cannot access \KISKA check the spelling of the name. otherwise there might be a problem with your network. Under the details of this error I get this: "The network path was not found" Also I have stopped iptables so it cant be firewalled

View 5 Replies View Related







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