Fdisk doesn't give an option to create a partition from the beginning

I had a disk with a single BSD patition taking all space. To have the disk formatted with ext2 I used dd to blank it out and then tried to partition it with fdisk. There I got a weird thing:
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
72 heads, 63 sectors/track, 137818 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x015d4cc9
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4, default 1): 1
First sector (2048-625142447, default 2048):
Setting first sector to anything bellow 2048 makes fdisk output:
Value out of range.
Why so, and what can I do to have a partition starting at CHS 0:1:1?
Last edited by czarkoff (2011-07-21 09:08:37)

I don't know why this 1MB value was choosen. I think it has to do with partition alignment and maybe leaving room for GPT or something, but 1MB is way too much for that.
If you really want to use all the space and need only one partition, you might be able to use /dev/sdb directly without any partition table... I've never tried that though.
However, 1MB is only 0.0003% of your 350GB disk. Do you still care?
Edit: removed two zeroes from the decimals. Still small .
Last edited by stqn (2011-07-21 11:11:56)

Similar Messages

  • Give me some guide for studying System9 from the begining

    Hi All,
    Could you give me some guideness for studying system9.I am a new in System9 and want to get some material in learning it from all of you.Thank you for your help
    Regards,

    Hi,
    Go through the url given below.
    http://download.oracle.com/docs/cd/E10530_01/welcome.html
    You will find all the doc's of 9.x.
    Regards,
    Venki.

  • HT203167 lost some music and cannot find it on my computer.  tried to repurchase from itunes store and won't let me stating that it was previously purchased, yet doesn't give an option to redownload. help anyone?

    lost some music and cannot find it on my computer.  tried to repurchase from itunes store and won't let me stating that it was previously purchased, yet doesn't give an option to redownload. help anyone?

    AlexCarey, I've been having issues purchasing recently and place a number of calls to the support team. On Oct. 5th, and on my own decision, I went into my itunes profile and re-entered my credit card expiration date and security code. (Notice, it is not displayed for safety measures.) Today, I received an email from Apple support verifying if I made changes made to my account. For the heck of it, I logged back into itunes; click "Buy". It's working again after three days of failure. However, diagnosis still displays "Secure link to itunes store failed". Very confusing state of affairs, lately. See my post on "Itunes dilemma"

  • The option to create an instance of the source document  from a publication

    Hi,
    I have a question about the attitude of Business Objects Enterprise 3.1 with creating instances with scheduled publications.
    We have different publications scheduled with a deski report as source document. After running a publication always an instance is created behind the publication as a log file. If I look at the source document that was published  I donu2019t see an instance. I would like to automatically create an instance of the source document when the publication ran.
    In a few of my publications an instance is created on the(deski) source document when the publication ran successfully. How can I set the option to create an instance of the source document  of the publication?
    Thanks,
    Regards,
    Pieter

    Create an interface. say
    package MyPackage;
    public Interface APlugin {
         void runPlugin();
    }Then your plugin implements this interface. Then, to load and execute the interface:
    try {
          Class pClass = class.forName(className);
           APlugin plugin = (APlugin) pClass.newInstance();
            plugin.runPlugin();
       catch(ClassNotFoundException e) {
            .... plugin not found
       } catch(ClassCastException e) {
            .... plugin class found but doesn't implement APlugin
        } catch(InstantiationException e) {
            ... plugin badly defined e.g. doesn't have no-arg constructor
        } catch(IllegalAccessException e) {
            ... plugin or it's constructor not public
         }

  • Lost Windows 7 boot option after creating new partition

    First of all im new to Mac os.
    i have installed windows 7 using boot camp and after it i tried to create a new partition from the main mac partition and it was created successfullly however now the windows 7 boot option is not available for some reason.
    how can i have this option back?

    You broke it by adding the extra partition, remove Boot Camp (read the directions as to how) and start again. Do not add partitions next time.
    Do not use Disk Utility to remove the Boot Camp Partition, use it to remove any extra partitions.
    Backup your machine now.

  • Error in creating New Entry from the Client in NW Mobile 7.1

    Hi All,
    I have created a mobile application for Laptops in NW Mobile 7.1.
    I have a requirement to create an entry from the client, i.e., I need to create a PR in the client. The model bindind, the backend adapters, bapi wrappers are in place.
    I have used the standard create BAPI for PR and wrapped it in a BAPI wrapper. I just have to give the PR details and save the entry in the client. The BAPI wrapper has the logic for generating the new PR number.
    My problem here is, when I try to create a new PR, give the details and save, the entry is not getting updated in the backend and the sync state is '201'.
    I checked the "Message Monitoring" in the NW Mobile Administrator for the particular SWCV.
    For this create PR transaction, the particulars are as below
    Message State: Error - Stop Flow
    Message Type: Transaction
    Error: "Error occurred while fetching synckeys from table ZDOE01700000SL"
    "ZDOE01700000SL" is the Sync key look up table for PR(my data object).
    Please let me know where I have gone wrong and guide me in rectifying this problem.
    Thanks and Regards,
    Sunil

    Hi Sunil,
    From my understanding, looks like you are not filling synckey when you are creating a PR in your client. Synckey is a unique key on the DOE using which you can uniquely identify any node.
    There are two scenario's atleast as I know, where this error would have come.
    Case 1. If you are modifying something on client, which has been send by DOE, then you are not supposed to change synckey because it is a primary key. Now if we assume that you are not modifying synckey but when you are sending an update, check if by any chance the synckey is not going to DOE which is one case, and the second one is, after DOE has end that record to client, someone has cleaned up all the tables on DOE for that dataobject or someone has deleted that entry on the backend because of which the entry has been deleted on DOE. In either case, you are modifying something on client which is actually not present on DOE because of which when the DOE tries to look up based on synckey it doesn't find the needed record.
    Case 2. If you are creating something on client, then you are supposed to create a synckey which is a 32 bit character GUID. I think in your case, you are missing the synckey when you are sending it to DOE. Check if there is any API for doing that or you have manually create a GUID and send it.
    Hope it works out.
    Best Regards,
    Siva.
    PS: Reward with points if you find the post useful.

  • Is there a way to create a playlist from the now playing screen on ios7?

    Is there a way to create a playlist from the now playing screen on ios7? I want to be able to hear a song in my collection and immediately add it to an existing playlist or create a new playlist.
    Thank you in advance

    Hi Cornellius,
    From the now playing screen there's a Create button at the bottom that allows you to create a
    Genius Playlist
    New Station form Artist
    New Station from Song
    IPhone Help, Browse and play
    http://help.apple.com/iphone/7/#/iph3cf21a82
    The Now Playing screen provides playback controls and shows you what’s playing.
    For information on Genius Playlists, see
    Archived - Genius for iPod and iPhone
    http://support.apple.com/kb/HT2978
    I don't see an option to add it to an existing playlist.
    Best Regards,
    Nubz

  • DVD doesn't play from the beginning when inserted a second time into a dvd player

    DVD burnt in DVD studio pro, when ejected and inserted again into dvd player, the dvd plays from where it stopped the last tome it was ejected. It doesn't rewind and play from the beginning.
    Is the problem in the burning settings in DVD studio pro? any help is really appreciated!

    My DVD Player setting was Last option played, I changed it now to "beginning". It now starts from the beginning when I insert it again, thanks.
    Another issue is that my First play in the DVD is a Track, then comes a Menu. When I leave to the Menu while the Track didnt finish, and then click the dvdmenu on my remote control, the Track resumes from where I exited to the menu last.
    Is that something i can control ? To make that intro track start from the beginning?
    Thank you, I appreciate the help!

  • How to create a partition using the free space of an existing[SOLVED]

    Hi Guys,
    Since I could not install fifa 09 using wine on linux, I need to create a partition where I can install windows first in order to install fifa 09 on it. How can I create a partition using the rest free space of my , for example, /home partition?How can I do it in a secure way (meaning without doing something to my existing archlinux installation files and system files) ?
    Thanks.
    Please see this post:
    https://bbs.archlinux.org/viewtopic.php?id=109402
    Last edited by Archie_Enthusiasm (2010-12-08 19:23:46)

    Use Parted Magic. But you *should* backup any important files just in case, regardless of method you use. You never know. Someone could unplug your computer, a power surge might happen, etc. A cousin of mine actually did something similar while I was gaming, the extension cord has a red button which he "accidentally" pressed. I would've cracked his skull had he done it while resizing a partition.
    Anyway, the partitioning scheme should be the first thing you do when you decide go this route (dual booting). I remember about a year ago I forced myself to use Linux by formatting the entire drive to ext4, except for the 2 GB + 20 GB ntfs partitions. It was what kick-started me on this path. Here's my partitioning scheme for both computers, maybe you'll get an idea and do something similar:
    Older computer:
    2 GB ntfs - MicroXP
    8 GB ext4 - Arch Linux + Home dir (to keep the dot files organized in one place)
    20 GB ntfs - games partition
    Rest is for media, formatted as ext3 with inode 128 (so it can be loaded as Read-Only in Windows too via Ext2fsd so they won't be affected in case of a virus infection)
    New computer:
    20 GB Windows 7
    10 GB Arch Linux + home dir
    50 GB games partition
    Rest of the space is ext4 mounted to /media
    Note that they're all primary partitions for remembering easier (sda1, sda2, sda3, sda4) instead of a combination of primary and extended which would probably look like sda1, sda5, sda6, sda7, etc.
    Last edited by DSpider (2010-12-03 13:02:26)

  • Hola a todos , busco una manera de crear un pdf desde la impresora de ios, como lo puedo resolver, gracias. Hi all, I look for a way to create a PDF from the printer ios, as I can solve, thanks

    Hi all, I look for a way to create a PDF from the printer ios, as I can solve, thanks

    Try this process on your Mac. These files will be regenerated by Mac OS X with default settings.
    1. Quit the Mac App Store
    2. Trash the following folders and files; (~ is your Home folder)
    ~/Library/Caches/com.apple.appstore
    ~/Library/Caches/com.apple.storeagent
    ~/Library/Cookies/com.apple.appstore.plist
    ~/Library/Preferences/com.apple.appstore.plist
    ~/Library/Preferences/com.apple.storeagent.plist
    ~/Library/Preferences/com.apple.streagent.plist.lockfile
    Mac HD/Library/Preferences/SystemConfiguration/networkinterfaces.plist
    3. Restart your Mac
    4. Open the Mac App Store
    5. Log into your MAS account

  • When creating a PDF from the scanner, it only scans one side despite the settings.

    When creating a PDF from the scanner, it only scans one side. I am using a fi-7160 that supports scanning both sides at once. The Scanner software is configured to scan both sides, and so are the presets in Adobe Acrobat Pro. I've only gotten the setting to work with the Custom Scan setting. Has anyone else had this problem, and what is the solution?
    Additionally, the software bundled with the scanner with automatically omit the back sides of a page if it is blank. I am scanning large files with occasional double sided pages. Is there a way to avoid having to manually delete blank pages when creating a new PDF from the scanner? It takes twice as long because I'm using the OCR stabilization.

    Hi anne,
    Could you please let me know what Acrobat and OS version are you using.
    Does this happen in case of any particular PDF or all PDF files?
    Try repairing Acrobat and then again check.
    Hope to get your response.
    Regards,
    Anubha

  • Problem creating a PDF from the "print view" of a web page

    When creating a PDF from the "print view" of a web page, the features in the print dialog box overlap. When the PDF is created, the words are garbled. e.g. words apppear as jzhhhxxf or zxihcj.

    Use a job settings that embeds the fonts. If you look at the PDF, the font properties probably do not look correct and don't include embedded fonts. Also, set the printer to Adobe PDF before you try to do a print, so that the web page can try to properly adjust to the printer.
    Why not just try opening the web site directly in Acrobat?

  • I have multiple iPhoto libraries and when I selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open apps window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    I have multiple iPhoto libraries on my Macbook Air 10.7.5 and when I am selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open application window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    If you're pushing Option at the exact moment you're clicking the Dock icon, it's supposed to do that. Wait until just after clicking it.
    (112342)

  • Help Please - having difficulties creating af link from the text to an attached file i acrobat

    I have been reading the help, but it just wonn't work when I try.
    I have tried as followed (I am working with a danish version, and hope to matched the same word as in the english version of Acrobat Xpro):
    1. From the toolbox i choose content and then 'hyperlink'
    2. I mark the text from which i wish to make a link
    3. Acrobat respond with an popup picture 'create a link'
    4. From the popup I mark 'Open a side' and push 'next'
    5. Acrobat respond with a new popup picture 'create / go to a side'
    6. I go to the navigator and open the list with attached file's that I have embedded in my acrobat file.
    7. I mark the to which i wish to make a link to
    8. In the popup 'create / go to a side' that stilll is open, i push 'Mark hyperlink'
    Then I hoped that I have created a link from the acrobat text to the attached file. In stead Acrobat has made a link to the same sidenumber that respond to the text from which i wish to make a link . F.ex. the linktext is on side 10 - then the link goes to side 10.
    How do i do it right?
    Please help.

    Hello Bernd
    Thanks for a quick respond.
    This corresponds to the text I have tried myself, but apparently I do something wrong
    1.      Open a PDF that contains a PDF file attachment – done
    2.      Go to where you want to create a link. If that location is in the file attachment, click the Attachments button in the navigation pane, select the file attachment, and click open.
    Here I go to side number 10 from which I wish to make a link from (I am not open the attachment file at this moment, as the location not is inside the file attachment).
    (I earlier also tried to  mark the attachment file and click open, and It result that the attached file just opened normally without creating a link to the file).
    3.      Choose Tools > Content > link, and select the area for the link
    Here  I mark the text on side 10 from which I wish to make a link to a attached file
    4.      In the Create Link dialog box, set the link appearance, select Go To A Page View, and then click Next
    Here I have selected ‘Go to a page view’ as told and I click Next
    5.      Set the page number and view magnification you want, either in the parent PDF document or in the file attachment, and then click set link.
    Here I go to the navigation pane and mark the attached file from the file list (the files in the list hasn’t any side number in the list) and then I click Set Link.
    Then I hoped that I have created a link from the acrobat text to the attached file. In stead Acrobat has made a link to the same sidenumber that respond to the text from which i wish to make a link . F.ex. the linktext is on side 10 - then the link goes to side 10.
    What do I do wrong.?
    Med venlig hilsen
    Mogens Pedersen
    Specialkonsulent
    T 33 63 13 07
    F 33 63 10 11
    [email protected]<mailto:[email protected]>
    Fra: Bernd Alheit [email protected]
    Sendt: 2. marts 2012 13:11
    Til: Mogens Pedersen
    Emne: Help Please - having difficulties creating af link from the text to an attached file i acrobat
    Re: Help Please - having difficulties creating af link from the text to an attached file i acrobat
    created by Bernd Alheit<http://forums.adobe.com/people/Bernd+Alheit> in Creating, Editing & Exporting PDFs - View the full discussion<http://forums.adobe.com/message/4241290#4241290

  • Create an user from the existing user.

    Hi All,
    Recently i have created one user from the existing user in a different server.
    Oracle version :10.2.0.1.0
    I have granted the similar roles same as in production.
    In Production:
    SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
    GRANTED_ROLE                   GRANTEE
    RESOURCE                       TRADELOANS
    CONNECT                        TRADELOANS
    In Test:
    SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
    GRANTED_ROLE                   GRANTEE
    RESOURCE                       TRADELOANS
    CONNECT                        TRADELOANS
    But the user complained that he is getting error like 'user lacks CREATE SESSSION privilege'. He also says he is able to connect to production but for the test he is getting that error
    Can anybody let me know where i have done the mistake?
    Regards
    Arun

    arundba wrote:
    Hi Kamran,
    I listed the roles given to the user in my first post. I have granted connect and resource role to the user.
    and it is same in production also. But the thing is why he is able to connect to production and not for test?
    Regards
    ArunSee the following demonstration:
    SQL> create user t identified by t;
    User created.
    SQL> connect t/t
    ERROR:
    ORA-01045: user T lacks CREATE SESSION privilege; logon denied
    Warning: You are no longer connected to ORACLE.
    SQL> conn / as sysdba
    Connected.
    SQL> grant connect to t;
    Grant succeeded.
    SQL> conn t/t
    Connected.
    SQL>

Maybe you are looking for