You are not logged in.
I don't wanna take one flashdisk as arch installation media and another for eyeryday use, but if I make the second partition on the flashdisk, it is not recognizable under windows. Does anybody konws how to make arch usb install image and a recognizable windows partition in one flashdisk?
-------------------------------------------------------------------------------------------------------------------------------------
expand the img file into a vfat flashdisk, install GRUB on it, it works well.
Last edited by philacorns (2009-05-30 13:30:25)
Offline
Maybe you can create a new folder (not a partition) and put everything everyday-use-related in there? Test if it doesn't interfere w/ Arch installation but you should be ok.
Windows may not recognize partition types like ext3 so you should format you drive w/ vfat format. Use 'mkfs' command from dosfstools package. Does Windows recognize it OK when you have just one partition?
Does anybody konws how to make arch usb install image and a recognizable windows partition in one flashdisk?
Nope, I use CDs.
Offline
it seems that the vfat fs will be replaced by what the .img file provides...
Offline
In several places in the wiki there's a note "Make sure to use /dev/sdX and not /dev/sdX1", but maybe this assumes you have just one partition. Can you first partition your pendrive and then copy the img file to sdX1? I have no pendrive at hand to check this. If the image will still boot, than the second partition can be vfat or whatever you like.
Offline
It doesn't work. Put the files into a vfat partition and grub-install doesn't work, too. Now I am trying to use GRUB4dos...
Offline
It doesn't work.
What are you referring to?
-> Can you first partition your pendrive and then copy the img file to sdX1?
Offline
I used a broken laptop which cannot support boot from USB though it should do. Now the problem has been solved using the method at the first floor.
Offline
I used a broken laptop which cannot support boot from USB though it should do.
I *hate* when such things happen <gnashing teeth>
Glad you've got it working.
Offline
If you dd the install img file to your usb stick, you end up with an ext2 partition, and some extra space - the amount of extra space obviously depends on the size of your stick. You can create a new partition in the unused space with a FAT or NTFS filesystem in it, and that will be accessible in Windows.
Offline
@tomk
Can you first partition your pendrive and then copy the img file to sdX1?
Offline
@tomk
At my machine, it's not accessible under windows. (I'm sure it's not a broken windows!)
Offline
@philacorns
Can you write how did you try to do it? What programs / commands did you use for repartitioning?
Offline
karol - no you'd have to dd the img first, and then create the extra partition, because the img provides the mbr as well.
philacorns - I didn't test it, as I don't have Windows. It just seemed like it should work.
Offline
@tomk
Oh well, I'd rather use two pendrives than complicate my life :-)
Offline
@karol
I use gparted
Offline
I use gparted
Did you set the type of the new partition to vfat or sth else?
Offline
Make two partitions, first is vfat, second ext2/ext3. Make /grub directory to second partition and put there grub's config etc.(copy your /boot/grub/ there?). Then install grub to mbr of that usb-stick, check if it boots. If it boots, extract Arch install image to second partition and add it into the grub conf of that usb stick. And then it should boot. Windows accessible partition must be first, atleast on XP, I'm not sure, but I think XP detects only first partition of usb stick. I'm not sure if this works, but I think I did it like that or maybe I forgot something. I don't remember clearly anymore everything I did, but I installed Arch on my NC10 with that usb stick. Extracted Arch installation image to the partition where /grub(or was it /boot/grub?) was and added it to grub conf.
Offline
GParted can create second partition on flash drive and format him at ext2. Then copy files from .iso on second partition. Load arch with grub4dos from first partition.
title Parted Magic 5.7
find --set-root /flashdrive.tag
map --heads=0 --sectors-per-track=0 /pmagic/pmagic-5.7.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)
title Arch Linux (second partition)
find --set-root /flashdrive.tag
root (hd0,1)
kernel /boot/vmlinuz26 archisolabel=ARCH_201005 tmpfs_size=75% locale=en_US.UTF-8
initrd=/boot/archiso.img
Arch Linux USB Install and Rescue Media.
Grub4dos wiki.
Last edited by Alth (2010-11-13 01:46:57)
Offline