Debian Installation :: Define Partition Table Type In Preseeding File?
May 5, 2010
I'm trying to define the partition table type (I want to set it to msdos) for an automatic installation using preseeding file. (Why? I want to setup a software RAID 1 with two 2TB disks, by default the installer uses gpt partition tabless on those disks, where it's tricky to install grub(2), as there is no mbr, and the root partition is on a md device) During manual installtion it is possible to set the partition table type (by setting debconf priority to low).
Does anyone know what I have to put in my config file so that a msdos partition table will be created Also any other solution is welcome. I just want to have my root partition on a raid 1 and have grub installed, so that it boots up (No other OS is installed on the boxes. Debian squeeze is used)
Using ubuntu minimal install 9.10 for a htpc. My boot drive is a 2Gb disk on module. When using advanced install I am eventually given the option to format the drive and ultimately the option to pick what sort of partition table type. I am not sure what to pick; it appears to have msdos as a default. Here are my options:
aix amiga bsd dvh gpt mac msdos (default?) pc98 sun loop
Some appear to be obviously bad choices; but I am not sure. Any ideas on which would be a better pick for me? I have already used msdos and it seems to work fine.
how can I define file type for wget to download . for example I do not want to download *.html or I just want to download *.jpg files . or if it does not support any of them do you know any other suggestion ?
I have installed Gantt Project (project management application) under 10.04. The system identifies the .gan files produced by the program as xml files. How do I tell the system to open .gan files with the GanttProject application?
I tried right click on the file to open and using "Open with other application" but the GanttProject application does not appear to be in the list of available programs.
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....
I have just installed the newest Debian Stable 7.8 release on my new notebook. Before installation I had to free some disk space from the preinstalled Windows7 with ntfsresize and fdisk. In addition to the existing three primary partitions I created an extended one with three logical partitions for /(root) /home and swap, see the output of 'fdisk -lu'
For some reason I put a bootable flag on sda7, and the only small concern during installation was that some BIOS systems might not work with boot-flag no logical drives. Now, every time I boot I get this "Invalid partition table!' message which I must 'enter" away before I get to the GRUB menu.
I have presently a (working) boot dedicated partition, where grub stuff resides, but I want to change it to a common "/boot" folder in the root partition (in a different hdd). For some reason I can't do it. The first thing I did was to copy all the things that are in the boot partition to a boot folder on the root partition. After that, I tried: grub-install /dev/hdc1 (which is odd but it's where the root partition actually is)
When I did it from the linux I have installed on my hdd, it actually did something, I don't remember all the output (except that there was something about it not being able to access hda, which is oddly the dvdrom), but it didn't work. From a live CD, the same command (grub-install /dev/hdc1) is answered with: Could not find device for /boot: Not found or not a block device. From grub's own prompt, the things are more or less the same. First of all, it does not find stage1, even though I did copy the content from the boot partition to a boot folder in the root partition.
I tried to proceed, anyway, with root (hd1,0) and setup (hd1,0) (which is /dev/hdc1, according with the "geometry" info given by grub). "Root" is accepted, but "setup" is answered with: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type But the files are there. I can't "cat" the menu.lst from grub though, unlike with the actual working boot partition. The same error message. From the terminal, however, it's all there. I tried with /dev/hdc1 both mounted and unmounted, the same message. So, basically I have two questions, I guess:
1 - can I really do this sort of thing running a linux installed on a hdd, rather than a live cd, or is the live cd preferable for some reason?
2 - what am I missing?
(A note that may worth making is that I'm using the soon-to-be deprecated grub version, 0.9 or something, not grub2. I think it shouldn't be a problem since I've installed the system with the old version to begin with, but that may be irrelevant, I don't really know)
I have tried to automate the configuration of a usb drive with not much success.
The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.
I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.
I grabbed the new lubuntu 10.10 from [URL] but it turns out I'm having a problem installing it on my netbook (Asus Eee PC 1015PED). While installing, this error pops up:
The attempt to mount a file system with type ext4 in SCSI2 (0,0,0), partition #1 (sda) at / failed.You may resume partitioning from the partitioning menu.I'm installing via USB and have selected the option to erase everything and use the full HDD.
I was trying to perform a new install, so sensibly made a back-up of my data to my external drive. Unsensibly, I didn't unplug the disc before starting the install and the install trashed the partition table/FAT on the external drive.I've used disktree and can "see" that the disk has lots on it, but I cannot access it.
I need to be able to access the files on the image of a hard drive created with ddrescue. The original drive had bad, unreadable sectors, and was corrupted in a way that damaged the partition table. It was formatted NTFS, but because of the corrupted partition table, nothing recognizes it as such anymore. Is there some other way I can mount it, rebuild the partition table or create a RAW file tree out of the image file?
I had 40 gb of unused space at the beginning of my drive, then a 15gb primary ext3 partition for /, then a 100GB ext4 primary partition for /home, then a 4 gb extended partition that contains two 2 gb swap partitions.
I installed FreeBSD on the empty space at the beginning of the drive. The slice I created did not start on the first block. There were a few MB of free space before and after it.
After the installation finished (with no errors), grub would hang on the "Grub loading/Welcome to Grub screen". I booted a squeeze CD in rescue mode and reinstalled grub to /dev/sda. After rebooting, Grub still hangs at the same place.
I booted a live CD and checked the output of fdisk. For each of my partitions, it says "Partition does not end on cylinder boundary". I am hoping that whatever happened to my disk is not recoverable. Fortunately, I backed up some essential files beforehand, but I still don't really want to lose my old squeeze system.
had a bad experience when Fedora 15 overwrote the ext4 partition of a data disk to MVL during the installation process.I cloned the HD and now I am working on it. However, my first attempt resulted in 900.00 number-renamed files into the lost+found folder. And that's not what I want: with this number of files I need to recover the directory structure and the files real names.I know this is a hard issue for being discussed in the forum and that I shall look for some expert help, but, I wished to useis bad moment as an opportunity of learning.
In an attempt to shrink my Data partition on my 500GB drive I had succeded in shrinking it but I think I have broken the partition table as now it refuses to mount. When trying to mount I get this error mount: wrong fs type, bad option, bad superblock on /dev/sda2 I have done some searching around but most fixes haven't worked because they are based on ext2/3 File systems and this partition is ext4. Using Ubuntu 10.04 x64.
I have an unallocated space at the end of my hdd, which is about 10 gb. I installed Pardus on that space, but then deleted the partition to install something else (I know I did not have to delete it, I could simply install the new thing over it), i dont remember exactly how, but it was from my Debian System, not from a LiveCD.Now, I am unable to use that space. GParted gives an error and says:Warning: the kernel failed to re-read the partition tableon /dev/sda (Device or resource nusy). As a result, it may not reflect all of your changes until after reboot.
i have got an Debian Lenny NAS with 7x1,5TB of a Softwareraid5. Kernel Version is 2.6.32. The Raid ist mountet in /media/raid5. The System ist on a seperate disk and work fine. After i tested the performance of the raid with:
Since i had done this i cant find any Data on /media/raid5. cat /proc/mdstat and mdadm --detail /dev/md0 looks fine. All UUID's are good. But: The SuperBlock is unreadable and the partition table was not found. mke2fs -n /dev/md0 shows some Backup of the Superblock , but i cant repair it with fsck.ext4: Illegal inode number on /dev/md0.
I am using a 8 GB usb flash to create a F13 Live Media. I created it using the livecd-creator. But when I use it to try to boot, it says "No bootable partition in table". What's wrong? I did some searches on google, but didn't find a solution.
I have searched and didnt find a situation like mine so i thought id ask. i have a dual boot setup on my hp pavillion windows vista /dev/sda1 and backtrack linux 3,while trying to install backtrack 4 (which is ubuntu based) i deleted the former partitons for bt3. im not quite sure what i clicked but using the ubiquity installer it deleted my partition table so now my entire drive is listed as unallocated space. i have some very important files on my windows partition other wise i would just format and start over. how can i restore the partition table and boot to windows to atleast grab the important stuff. the drive hasnt been formatted so the info is still there i just cant get to it anyone have any ideas?
I'm trying to install Ubuntu Netbook 10.10 to an Asus EeePC 1000H (160GB HDD). (I know it will be slow because of Mutter/i945). The usb stick boots just fine but when it comes to the partition part it goes wrong.
I have 3 partitions:Windows 7 (50GB) This will be Ubuntu Netbook (50GB) DATA (60GB)
But the partition manager just shows 160GB of unallocated space. I have tried to reboot and create the partitions with other software (even with GParted LiveCD) but the result is the same.
I believe this has something to do with an mdadm update which was included in the release. When I configured the array, I didn't partition the disk devices, so maybe that has something to do with it. I am thinking of rebuilding the array and partitioning prior to build, but a quick fix would be referable.
And also something appears to have happened to the raid device since the update.
Prior to update, the array was /dev/md0 - now it is /dev/md/0 which is a symbolic link back to /dev/md0.
mdadm --detail --scan now reports /dev/md/0 where previously it reported /dev/md0
I created a new RAID1 array on a fresh system and immediately after the create, these messages appear at 5 minute intervals.
I'm trying to install Fedora 10 from a USB memory stick on which i've installed Fedora-10-x86_64-DVD.iso and, early in the process of configuring the installation, i get messages about both my IDE hard drives having unrecognizable partition tables:
"The partition table on device sda (... my disk data ...) was unreadable. To create new partitions it must be initialized, causing the loss of ALL DATA on this drive."
Same for sdb.
My PC currently runs Fedora Core 4 (yes i know i should have gotten around to upgrading my OS earlier) and yes it recognizes both hard drives just fine.
The answers I've found on the web suggest to backup my drives and repartition. I'm not too hot on that "solution".
explain why a F4 partition table is not recognized by F10?
BTW, I've recently upgraded my motherboard, processor, DVD drive, regrouped both my IDE drives on the same bus, ... I consider it a miracle F4 still runs on this PC (although F4 does not support the motherboard's graphics card, so no X11).
This is maybe the 15th time I've installed an Ubuntu OS in the past two years, and it's the first time I've really been stuck.Not long ago I installed 10.10, with no problems, but a couple days ago I did a fresh install of windows 7, and I planned to re-install ubuntu 10.10 alongside it.Before I installed windows, I created a partition on my 320gb HD, half and half, but while doing this I noticed that gparted would crash if a USB key was plugged in. I mention this because I'm convinced this is related to the problem.
After having installed windows, I went and created a bootable usb key with 10.10 using unetbootin (which I've used once before, but along time ago). I'm unable to make an actual live CD because my disk drive has been broken for the past year - a fact that has never stopped me from installing different distros with a usb key.So the installer starts as usual, but after the 2nd (or 3rd) step (where it says "for best results, make sure that your computer is plugged in, that you have an internet connection, and at least [...] of free space), I click forward, and the little wheel just spins forever,it never advances.I tried everything again with 10.04.1 and I got the same thing, this time after choosing my keyboard layout.
When I simply go to the live distro and then go to install, I see that at that moment, there's a crash report, something about gparted, which I'm assuming is a built-in part of the next step.
To sum up -gparted doesn't seem to like USB keys
-installer won't advance to partition table
-can't use a disk because drive is broken!
My computer is an Acer Aspire 4530, AMD64. The 10.10 and the 10.04.1 installations were both 64bit.
I had a tri boot of Win 7 /XP and Mint...I was using EasyBCD 2.0 as a boot manager...I booted Mint by configuring the NeoGrub option in Easy BCD..I wanted to uninstall Win 7 and so what I did was the following
1. Edited BCD bootloader settings ...Marked XP as my default and deleted Win 7 entry...
2. Logged out and wiped my Win 7 partition
With my fingers crossed , i rebooted but Easy BCD booted flawlessly with 2 choices XP and Mint(GRUB)...As Easy BCD is not meant for XP, I thought of restoring original NTLDR of XP so that things would be in place and thinking that this cud avoid problems of detection by other Linux OS I deleted manually the Easy BCD menu.lst file and NeoGrub.mbr in my root...That was it , after I rebooted, I got boot screen of EasyBCD but whichever option I select,I got an error message that address not Valid-NTLDR not found or something like that I booted my XP live CD and like many times before ran
1.Fixmbr 2.Fixboot 3.bootcfg /rebuild
After that , now when I reboot , I am getting "Invalid Partition Table" On booting from a linux CD , I can see the files are in place..I have to get boot sector and partition table fixed...