Gustin Johnson wrote: > Ralf Mardorf wrote: > > Hi :) > > > First I tried to "enable" my USB stick. You can skip what I did before I > > got a serious problem with one of my hard disk drives. > > Marks to skip from/to: --- > > --- > > > ----------------------------------------------------------------------- > > You might skip the text from here ... > > ----------------------------------------------------------------------- > > > I thought the USB stick wasn't auto-mounted, because there was no icon > > on the desktop after the 64 Studio 2.1 session started, but it was > > recognized by gparted and cfdisk, anyhow I tried to take access to the > > stick by dd, gparted and cfdisk, with and without disconnecting and > > connecting it again. > > > I disconnected the USB stick again, waited around 30 seconds and > > connected it again. It lasted around 10 seconds until the USB stick's > > LED stopped flashing and stayed giving light. I waited more then a > > minute and again tried some commands. > > > 64studio:/home/spinymouse# mount -t vfat -o rw,umask=0000 /dev/sdb1 > > /home/spinymouse/Desktop/usb-stick > > mount: special device /dev/sdb1 does not exist > > > 64studio:/home/spinymouse# cfdisk -z /dev/sdb > > > Disk has been changed. > > > WARNING: If you have created or modified any > > DOS 6.x partitions, please see the cfdisk manual > > page for additional information. > > > The messages of cfdisk: > > > "cfdisk 2.12r > > Disk Drive: /dev/sdb > > Size: 8086618112 bytes, 8086 MB > > Heads: 249 Sectors per Track: 62 Cylinders: 1023 > > Name > > Flags > > Part Type Pri/Log > > FS Type Free Space > > [Label] > > Size (MB) 8086.06 > > > I tried to partition it. > > > Name sdb1 > > Flags Boot > > Part Type Primary > > FS Type W95 FAT32 > > [Label] > > Size (MB) 8086.06 > > > Writing partition table to disk... > > > Wrote partition table to disk > > Toggle bootable flag of the current partition" > > > I quit cfdisk by pressing q. > > > I've done this before, but before I got an error message that differs > > from other messages, but I can't remember it. It was something like > > "Wrote partition table to disk ... couldn't re-read. I started to note > > everything and not only to note nearly everything. Gparted before > > running the latest cfdisk informed about "Unable to open /dev/sdb - > > unrecognized label". > > You partitioned the drive, but you have not yet formatted the partition. > There is currently no file system on /dev/sdb1 yet. > > - From Linux: > sudo mkfs.vfat /dev/sdb1
cfdisk should do: > I tried to partition it. > Name sdb1 > Flags Boot > Part Type Primary > FS Type W95 FAT32 > [Label] > Size (MB) 8086.06 And you think it did not format to > FS Type W95 FAT32? Hm? Okay I try # mkfs.vfat /dev/sdb1. > - From Windows: > Control Panel -> Administrative Tools -> Computer Management -> > ** note that you need to be an administrator to do this. ** > > Alternatively you could run Computer Management with admin credentials > in case you are properly using Windows. > > runas /noprofile /user:mydomain\myadminusername "mmc > %SystemRoot%\system32\compmgmt.msc /s" > > For home users mydomain = computer name > > In either case, right click on the USB drive (it won't have a drive > letter yet because there is no file system, yet) and click format. It has a drive letter, it's F:\. > Regardless of the OS you rebuild the USB key on, ** DOUBLE CHECK THAT > YOU ARE MODIFYING THE CORRECT DEVICE ** This is really important. > There is no garuntee that the USB stick will always be /dev/sdb or the > same drive letter in Windows. On Linux you can check by either: > a) looking in /dev/disk/by-id. Eg. "ls -l /dev/disk/by-id" > or b) sudo parted /dev/sdb print I always checked this before. If the hard disks are connected, I have one drive with a size of 76GB, another with a size of 298GB and a third with a size of 8GB and I always only tried to change something for the drive with the size of 8GB ;). I didn't know 'ls -l /dev/disk/by-id', an 'parted /dev/sdb print', by the way, parted isn't installed to every Linux. > <snip> > > The USB stick was active. There was one partition for the stick, > > yesterday there were 3 "strange" partitions (seen by Windows, not by > > Linux), maybe something changed by dd or any other Linux command. Trying > > to format and partition by Windows failed with the error that the USB > > stick is write protected. > > You may also get that error if you do not have sufficient privledges. > See above for a possible solution. I don't use an user account, I only have an admin account for my Windows. > > All hard disk drives still were okay. > > > ----------------------------------------------------------------------- > > ... to here > > ----------------------------------------------------------------------- > > > I rebooted into the 64 Studio 3.0-beta3 installer DVD. > > > I ONLY watched the installer's partition tool and quit "Write changes to > > disk?" with "<No>". I wasn't tired or drunken and note each step I did > > in longhand. I was focused to each step I did. > > > I choose "Execute a shell", there was no folder /target. > > > I rebooted into the BIOS. USB 2.0 was enabled. I quit the BIOS without > > saving and turned of the computer and turned of the power for the power > > supply. I connected the USB stick to another USB slot and disconnected > > the cables of my 2 hard disk drives, an IDE and a SATA. > > > I turned everything on and booted the 3.0-beta3 install DVD again. > > > This time I tried to format the USB stick by different options, but it > > didn't worked. I executed a shell again, this time there was a folder > > /target, but it was empty, yesterday after the install it wasn't empty > > (even if I couldn't access the stick). > > > After "Abort the installation" and turning of the power again, I > > connected the cables to the hard disk drives. > > > I booted 64 Studio 2.1 (amd64, Etch) from the SATA hard disk drive. GRUB > > is on the IDE drive. I need to continue the start up by Ctrl+D, because > > a file system failed. When the session had started I $ cat > > /var/log/fsck/checkfs "[snip] fsck.ext3: Unable to resolve > > 'LABEL="ide_copy"' [snip] fsck died with exit status 8 [snip]" > I have not seen that error before. It is possible that something is > corrupt with partition label > > sudo e2label /dev/<IDE Device>1 > will print the current partition label > > sudo tune2fs -L <new label> /dev/<IDE Device>1 > will change the label. I know tune2fs, but the partition is (partitions are) lost. Instead of having the partitions #1 (,2#), #5 to #10 there only is one partition, partition #1. > > # gparted only detected one partition on my IDE hard disk drive, but > > there should be IDE #1 and #5 to #10. > > sudo parted /dev/<IDE Device> print > > > At this point I get tired, but I still wasn't drunken. To be on the safe > > side I only watched what a Suse 11.1 DVD recovery tool is able to do, > > without executing any recovery. It didn't found the wanted partitions. > > The latest backuped MBRs I found were from 2009-01-04, before I did the > > XP install. It might be, that this MBRs are fine to recover the > > seemingly broken MBR, but it also might be, that I changed the > > partitions before I installed XP and that I don't have an actual MBR > > backup, I need to read some notes. I've got relative actual True Image > > backups for the first partition of the IDE hard disk drive, but I don't > > know if the MBR is within these backups. I even don't know if the MBR is > > broken or something else. > > Multiboot with multiple drives can be ugly. > > The first partition of the IDE is Windows XP Pro, I didn't try to boot > > it, but I did try to boot some Linux from the IDE and booting failed > > with the GRUB error 22 "No such partition". I still can boot Linux by > > GRUB from the IDE, that are on the SATA. The SATA seems to be fine. > > It is possible that the USB key is now in the position that the BIOS > expects the IDE drive to be in. Try it again without the USB drive > being connected. I did this, I will check again the order of the drives, but the order was fine. > [snip] Thank you again, Ralf
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 64studio-users mailing list [email protected] http://lists.64studio.com/mailman/listinfo/64studio-users
